Update new_editor inspector layout and host rendering
This commit is contained in:
@@ -119,16 +119,6 @@ void AppendUIEditorShellToolbar(
|
||||
return;
|
||||
}
|
||||
|
||||
drawList.AddFilledRect(
|
||||
layout.groupRect,
|
||||
palette.groupColor,
|
||||
metrics.groupCornerRounding);
|
||||
drawList.AddRectOutline(
|
||||
layout.groupRect,
|
||||
palette.groupBorderColor,
|
||||
metrics.borderThickness,
|
||||
metrics.groupCornerRounding);
|
||||
|
||||
const std::size_t buttonCount = (std::min)(buttons.size(), layout.buttonRects.size());
|
||||
for (std::size_t index = 0; index < buttonCount; ++index) {
|
||||
const UIRect& buttonRect = layout.buttonRects[index];
|
||||
|
||||
Reference in New Issue
Block a user