From 0d27c4d809bc50741e7bee8b7536bde87048f966 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. --- editor/editor_themes.cpp | 1 + editor/icons/GuiChecked.svg | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index 2c4f4e2973d1..463989868dfe 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -216,6 +216,7 @@ void editor_register_and_generate_icons(Ref p_theme, bool p_dark_theme = exceptions.insert("Sky"); exceptions.insert("EditorControlAnchor"); exceptions.insert("DefaultProjectIcon"); + exceptions.insert("GuiChecked"); exceptions.insert("GuiCloseCustomizable"); exceptions.insert("GuiGraphNodePort"); exceptions.insert("GuiResizer"); diff --git a/editor/icons/GuiChecked.svg b/editor/icons/GuiChecked.svg index 9bdf5dcb1950..31b2995939a2 100644 --- a/editor/icons/GuiChecked.svg +++ b/editor/icons/GuiChecked.svg @@ -1 +1 @@ - +