Merge pull request #114956 from passivestar/checkbox-icon-tint
Remove checkbox icon tint in Create Scene popup
This commit is contained in:
@@ -1892,6 +1892,14 @@ void ThemeClassic::populate_editor_styles(const Ref<EditorTheme> &p_theme, Edito
|
||||
p_theme->set_stylebox(SceneStringName(pressed), "EditorLogFilterButton", editor_log_button_pressed);
|
||||
}
|
||||
|
||||
// Checkbox.
|
||||
{
|
||||
p_theme->set_type_variation("CheckBoxNoIconTint", "CheckBox");
|
||||
p_theme->set_color("icon_pressed_color", "CheckBoxNoIconTint", p_config.icon_normal_color);
|
||||
p_theme->set_color("icon_hover_color", "CheckBoxNoIconTint", p_config.mono_color);
|
||||
p_theme->set_color("icon_hover_pressed_color", "CheckBoxNoIconTint", p_config.mono_color);
|
||||
}
|
||||
|
||||
// Buttons styles that stand out against the panel background (e.g. AssetLib).
|
||||
{
|
||||
p_theme->set_type_variation("PanelBackgroundButton", "Button");
|
||||
|
||||
@@ -1948,6 +1948,14 @@ void ThemeModern::populate_editor_styles(const Ref<EditorTheme> &p_theme, Editor
|
||||
p_theme->set_stylebox("hover_pressed", "EditorLogFilterButton", p_config.flat_button_hover_pressed);
|
||||
}
|
||||
|
||||
// Checkbox.
|
||||
{
|
||||
p_theme->set_type_variation("CheckBoxNoIconTint", "CheckBox");
|
||||
p_theme->set_color("icon_pressed_color", "CheckBoxNoIconTint", p_config.icon_normal_color);
|
||||
p_theme->set_color("icon_hover_color", "CheckBoxNoIconTint", p_config.mono_color);
|
||||
p_theme->set_color("icon_hover_pressed_color", "CheckBoxNoIconTint", p_config.mono_color);
|
||||
}
|
||||
|
||||
// Buttons styles that stand out against the panel background (e.g. AssetLib).
|
||||
{
|
||||
p_theme->set_type_variation("PanelBackgroundButton", "Button");
|
||||
|
||||
Reference in New Issue
Block a user