浏览代码

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;