Revert "Update new_editor inspector layout and host rendering"

This reverts commit 5d81a64ef3.
This commit is contained in:
2026-04-21 13:55:30 +08:00
parent 64e778da65
commit 2c9e8dad49
62 changed files with 151 additions and 4417 deletions

View File

@@ -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];