Restore new_editor toolbar play button styling
This commit is contained in:
@@ -23,12 +23,12 @@ struct UIEditorShellToolbarLayout {
|
||||
};
|
||||
|
||||
struct UIEditorShellToolbarMetrics {
|
||||
float barHeight = 24.0f;
|
||||
float barHeight = 30.0f;
|
||||
float groupPaddingX = 6.0f;
|
||||
float groupPaddingY = 2.0f;
|
||||
float buttonWidth = 18.0f;
|
||||
float buttonHeight = 16.0f;
|
||||
float buttonGap = 4.0f;
|
||||
float buttonWidth = 20.0f;
|
||||
float buttonHeight = 20.0f;
|
||||
float buttonGap = 6.0f;
|
||||
float groupCornerRounding = 0.0f;
|
||||
float buttonCornerRounding = 0.0f;
|
||||
float borderThickness = 1.0f;
|
||||
|
||||
@@ -119,15 +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) {
|
||||
|
||||
Reference in New Issue
Block a user