From c164c07e859516922510930555da70ee06ca245b Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 22 May 2021 03:42:51 +0200 Subject: [PATCH] Tweak pressed CheckBox appearance in the editor This uses the accent color to match pressed CheckButtons after they were updated. Checked checkboxes are now more prominent in the user's peripheral vision, which can be useful at times. This also matches how checkboxes look in most operating systems and web browsers. (cherry picked from commit 0d27c4d809bc50741e7bee8b7536bde87048f966) --- editor/editor_themes.cpp | 1 + editor/icons/icon_GUI_checked.svg | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index 26623292a92..c1e364ae628 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -217,6 +217,7 @@ void editor_register_and_generate_icons(Ref p_theme, bool p_dark_theme = exceptions.insert("ProceduralSky"); exceptions.insert("EditorControlAnchor"); exceptions.insert("DefaultProjectIcon"); + exceptions.insert("GuiChecked"); exceptions.insert("GuiCloseCustomizable"); exceptions.insert("GuiGraphNodePort"); exceptions.insert("GuiResizer"); diff --git a/editor/icons/icon_GUI_checked.svg b/editor/icons/icon_GUI_checked.svg index 9bdf5dcb195..31b2995939a 100644 --- a/editor/icons/icon_GUI_checked.svg +++ b/editor/icons/icon_GUI_checked.svg @@ -1 +1 @@ - +