1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Prefer the highlight version of the "GuiTabIcon" icon for buttons, and make their width/height equal

(cherry picked from commit 26381265b8)
This commit is contained in:
Michael Alexsander
2020-07-11 12:32:27 -03:00
committed by Rémi Verschelde
parent 1f7911e019
commit e7e022b3ee
6 changed files with 8 additions and 8 deletions

View File

@@ -2542,7 +2542,7 @@ void SpatialEditorViewport::_notification(int p_what) {
if (p_what == NOTIFICATION_THEME_CHANGED) {
view_menu->set_icon(get_icon("GuiTabMenu", "EditorIcons"));
view_menu->set_icon(get_icon("GuiTabMenuHl", "EditorIcons"));
preview_camera->set_icon(get_icon("Camera", "EditorIcons"));
view_menu->add_style_override("normal", editor->get_gui_base()->get_stylebox("Information3dViewport", "EditorStyles"));