Переглянути джерело

Merge pull request #7640 from volzhs/fix-scrollbar-2d-editor-3.0

Fix weird scrollbar appearance on 2D editor (3.0 master)
Rémi Verschelde 8 роки тому
батько
коміт
ae258e2679
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      tools/editor/plugins/canvas_item_editor_plugin.h

+ 2 - 2
tools/editor/plugins/canvas_item_editor_plugin.h

@@ -454,8 +454,8 @@ public:
 
 };
 
-class CanvasItemEditorViewport : public VBoxContainer {
-	GDCLASS( CanvasItemEditorViewport, VBoxContainer );
+class CanvasItemEditorViewport : public Control {
+	GDCLASS( CanvasItemEditorViewport, Control );
 
 	String default_type;
 	Vector<String> types;