1
0
Fork 0

Merge pull request #108814 from beicause/fix-color-preset-btn-focus-theme

Fix ColorPresetButton `preset_focus` is set to wrong type in default theme
This commit is contained in:
Thaddeus Crews 2025-07-27 10:28:31 -05:00
commit f5371a6764
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
1 changed files with 1 additions and 1 deletions

View File

@ -1129,7 +1129,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
preset_sb->set_anti_aliased(false);
theme->set_stylebox("preset_fg", "ColorPresetButton", preset_sb);
theme->set_stylebox("preset_focus", "ColorPicker", focus);
theme->set_stylebox("preset_focus", "ColorPresetButton", focus);
theme->set_icon("preset_bg", "ColorPresetButton", icons["mini_checkerboard"]);
theme->set_icon("overbright_indicator", "ColorPresetButton", icons["color_picker_overbright"]);