Bläddra i källkod

Fix drop-down size when resizing font #12207
Fixes Scene > Open Recent
Fixes ScriptEditor > File > Open Recent

Felipe Seixas 7 år sedan
förälder
incheckning
651246cbff
2 ändrade filer med 4 tillägg och 0 borttagningar
  1. 2 0
      editor/editor_node.cpp
  2. 2 0
      editor/plugins/script_editor_plugin.cpp

+ 2 - 0
editor/editor_node.cpp

@@ -308,6 +308,8 @@ void EditorNode::_notification(int p_what) {
 		}
 		_update_scene_tabs();
 
+		recent_scenes->set_as_minsize();
+
 		// debugger area
 		if (ScriptEditor::get_singleton()->get_debugger()->is_visible())
 			bottom_panel->add_style_override("panel", gui_base->get_stylebox("BottomPanelDebuggerOverride", "EditorStyles"));

+ 2 - 0
editor/plugins/script_editor_plugin.cpp

@@ -1169,6 +1169,8 @@ void ScriptEditor::_notification(int p_what) {
 
 			script_forward->set_icon(get_icon("Forward", "EditorIcons"));
 			script_back->set_icon(get_icon("Back", "EditorIcons"));
+
+			recent_scripts->set_as_minsize();
 		} break;
 
 		default: