Update new_editor inspector layout and host rendering

This commit is contained in:
2026-04-21 13:24:03 +08:00
parent d388c3994b
commit 5d81a64ef3
62 changed files with 4417 additions and 151 deletions

View File

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