From 65fd56832b8fdc92aadcbeaec29ebea290921a5e Mon Sep 17 00:00:00 2001 From: Luo Zhihao Date: Mon, 21 Jul 2025 11:27:21 +0800 Subject: [PATCH] Fix ColorPresetButton `preset_focus` is set to wrong type in default theme --- scene/theme/default_theme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/theme/default_theme.cpp b/scene/theme/default_theme.cpp index a59abf5add..a74e79e6b5 100644 --- a/scene/theme/default_theme.cpp +++ b/scene/theme/default_theme.cpp @@ -1129,7 +1129,7 @@ void fill_default_theme(Ref &theme, const Ref &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"]);