Skip to content

Commit f5371a6

Browse files
committed
Merge pull request #108814 from beicause/fix-color-preset-btn-focus-theme
Fix ColorPresetButton `preset_focus` is set to wrong type in default theme
2 parents 246a902 + 65fd568 commit f5371a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/theme/default_theme.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
11291129
preset_sb->set_anti_aliased(false);
11301130

11311131
theme->set_stylebox("preset_fg", "ColorPresetButton", preset_sb);
1132-
theme->set_stylebox("preset_focus", "ColorPicker", focus);
1132+
theme->set_stylebox("preset_focus", "ColorPresetButton", focus);
11331133
theme->set_icon("preset_bg", "ColorPresetButton", icons["mini_checkerboard"]);
11341134
theme->set_icon("overbright_indicator", "ColorPresetButton", icons["color_picker_overbright"]);
11351135

0 commit comments

Comments
 (0)