Merge pull request #32340 from YeldhamDev/minitab_icon_substitution
Replace "GuiMiniTabMenu" with "GuiTabMenu" and tweak it
This commit is contained in:
commit
c5b2ce8b06
6 changed files with 7 additions and 7 deletions
|
@ -88,7 +88,7 @@ void EditorAudioBus::_notification(int p_what) {
|
||||||
bypass->set_icon(get_icon("AudioBusBypass", "EditorIcons"));
|
bypass->set_icon(get_icon("AudioBusBypass", "EditorIcons"));
|
||||||
bypass->add_color_override("icon_color_pressed", bypass_color);
|
bypass->add_color_override("icon_color_pressed", bypass_color);
|
||||||
|
|
||||||
bus_options->set_icon(get_icon("GuiMiniTabMenu", "EditorIcons"));
|
bus_options->set_icon(get_icon("GuiTabMenu", "EditorIcons"));
|
||||||
|
|
||||||
update_bus();
|
update_bus();
|
||||||
set_process(true);
|
set_process(true);
|
||||||
|
@ -180,7 +180,7 @@ void EditorAudioBus::_notification(int p_what) {
|
||||||
mute->set_icon(get_icon("AudioBusMute", "EditorIcons"));
|
mute->set_icon(get_icon("AudioBusMute", "EditorIcons"));
|
||||||
bypass->set_icon(get_icon("AudioBusBypass", "EditorIcons"));
|
bypass->set_icon(get_icon("AudioBusBypass", "EditorIcons"));
|
||||||
|
|
||||||
bus_options->set_icon(get_icon("GuiMiniTabMenu", "EditorIcons"));
|
bus_options->set_icon(get_icon("GuiTabMenu", "EditorIcons"));
|
||||||
} break;
|
} break;
|
||||||
case NOTIFICATION_MOUSE_EXIT:
|
case NOTIFICATION_MOUSE_EXIT:
|
||||||
case NOTIFICATION_DRAG_END: {
|
case NOTIFICATION_DRAG_END: {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 0a2 2 0 0 0 -2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0 -2-2zm0 6a2 2 0 0 0 -2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0 -2-2zm0 6a2 2 0 0 0 -2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0 -2-2z" fill="#fff" fill-opacity=".39216"/></svg>
|
<svg height="16" viewBox="0 0 6 16" width="6" xmlns="http://www.w3.org/2000/svg"><path d="m3 0a2 2 0 0 0 -2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0 -2-2zm0 6a2 2 0 0 0 -2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0 -2-2zm0 6a2 2 0 0 0 -2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0 -2-2z" fill="#fff" fill-opacity=".39216"/></svg>
|
Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 322 B |
|
@ -1 +1 @@
|
||||||
<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 0a2 2 0 0 0 -2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0 -2-2zm0 6a2 2 0 0 0 -2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0 -2-2zm0 6a2 2 0 0 0 -2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0 -2-2z" fill="#e0e0e0"/></svg>
|
<svg height="16" viewBox="0 0 6 16" width="6" xmlns="http://www.w3.org/2000/svg"><path d="m3 0a2 2 0 0 0 -2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0 -2-2zm0 6a2 2 0 0 0 -2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0 -2-2zm0 6a2 2 0 0 0 -2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0 -2-2z" fill="#e0e0e0"/></svg>
|
Before Width: | Height: | Size: 305 B After Width: | Height: | Size: 303 B |
|
@ -122,7 +122,7 @@ void AnimationPlayerEditor::_notification(int p_what) {
|
||||||
stop->set_icon(get_icon("Stop", "EditorIcons"));
|
stop->set_icon(get_icon("Stop", "EditorIcons"));
|
||||||
|
|
||||||
onion_toggle->set_icon(get_icon("Onion", "EditorIcons"));
|
onion_toggle->set_icon(get_icon("Onion", "EditorIcons"));
|
||||||
onion_skinning->set_icon(get_icon("GuiMiniTabMenu", "EditorIcons"));
|
onion_skinning->set_icon(get_icon("GuiTabMenu", "EditorIcons"));
|
||||||
|
|
||||||
pin->set_icon(get_icon("Pin", "EditorIcons"));
|
pin->set_icon(get_icon("Pin", "EditorIcons"));
|
||||||
|
|
||||||
|
|
|
@ -3662,7 +3662,7 @@ void CanvasItemEditor::_notification(int p_what) {
|
||||||
scale_button->set_icon(get_icon("ToolScale", "EditorIcons"));
|
scale_button->set_icon(get_icon("ToolScale", "EditorIcons"));
|
||||||
rotate_button->set_icon(get_icon("ToolRotate", "EditorIcons"));
|
rotate_button->set_icon(get_icon("ToolRotate", "EditorIcons"));
|
||||||
snap_button->set_icon(get_icon("Snap", "EditorIcons"));
|
snap_button->set_icon(get_icon("Snap", "EditorIcons"));
|
||||||
snap_config_menu->set_icon(get_icon("GuiMiniTabMenu", "EditorIcons"));
|
snap_config_menu->set_icon(get_icon("GuiTabMenu", "EditorIcons"));
|
||||||
skeleton_menu->set_icon(get_icon("Bone", "EditorIcons"));
|
skeleton_menu->set_icon(get_icon("Bone", "EditorIcons"));
|
||||||
pan_button->set_icon(get_icon("ToolPan", "EditorIcons"));
|
pan_button->set_icon(get_icon("ToolPan", "EditorIcons"));
|
||||||
ruler_button->set_icon(get_icon("Ruler", "EditorIcons"));
|
ruler_button->set_icon(get_icon("Ruler", "EditorIcons"));
|
||||||
|
|
|
@ -2304,7 +2304,7 @@ void SpatialEditorViewport::_notification(int p_what) {
|
||||||
|
|
||||||
if (p_what == NOTIFICATION_THEME_CHANGED) {
|
if (p_what == NOTIFICATION_THEME_CHANGED) {
|
||||||
|
|
||||||
view_menu->set_icon(get_icon("GuiMiniTabMenu", "EditorIcons"));
|
view_menu->set_icon(get_icon("GuiTabMenu", "EditorIcons"));
|
||||||
preview_camera->set_icon(get_icon("Camera", "EditorIcons"));
|
preview_camera->set_icon(get_icon("Camera", "EditorIcons"));
|
||||||
|
|
||||||
view_menu->add_style_override("normal", editor->get_gui_base()->get_stylebox("Information3dViewport", "EditorStyles"));
|
view_menu->add_style_override("normal", editor->get_gui_base()->get_stylebox("Information3dViewport", "EditorStyles"));
|
||||||
|
|
Loading…
Reference in a new issue