Revert "Update new_editor inspector layout and host rendering"
This reverts commit 5d81a64ef3.
This commit is contained in:
@@ -119,6 +119,16 @@ 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