Add hover highlight to main editor buttons

Updates styling of the editor run bar, plugin, bottom panel, icon buttons, and main menu buttons for accessibility.
This commit is contained in:
Matt Enad
2023-12-20 19:52:20 -05:00
parent e5a3fd1e53
commit 5b5de0e167
10 changed files with 60 additions and 28 deletions

View File

@@ -543,7 +543,7 @@ EditorToaster::EditorToaster() {
main_button->set_tooltip_text(TTR("No notifications."));
main_button->set_modulate(Color(0.5, 0.5, 0.5));
main_button->set_disabled(true);
main_button->set_flat(true);
main_button->set_theme_type_variation("FlatMenuButton");
main_button->connect("pressed", callable_mp(this, &EditorToaster::_set_notifications_enabled).bind(true));
main_button->connect("pressed", callable_mp(this, &EditorToaster::_repop_old));
main_button->connect("draw", callable_mp(this, &EditorToaster::_draw_button));