Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Merge pull request #122802 from KoBeWi/switcher_awayer

Thaddeus Crews0e633a3e0376
diff --cc editor/docks/editor_dock.h
index a5798b9424a,3da5d07789c..59e80feabae
--- a/editor/docks/editor_dock.h
+++ b/editor/docks/editor_dock.h
@@@ -84,8 -84,9 +85,9 @@@ private
bool global = true;
bool transient = false;
bool closable = false;
+ bool allow_switch_screen = false;
- DockLayout current_layout;
+ DockLayout current_layout = DOCK_LAYOUT_NONE;
BitField<DockLayout> available_layouts = DOCK_LAYOUT_VERTICAL | DOCK_LAYOUT_FLOATING;
bool is_open = false;