1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-03-12 22:35:18 +00:00

Keep the tallscreen hsplit container invisible if we're changing panel layout mode in Zen mode

This commit is contained in:
Manolis Papadeas 2021-09-06 17:55:26 +03:00
parent 3d0d0b0335
commit 7bbc01d978

View file

@ -83,7 +83,8 @@ func change_ui_layout(mode : String) -> void:
if mode == "tallscreen" and not tallscreen_is_active:
tallscreen_is_active = true
# changing visibility and re-parenting of nodes for tall screen
tallscreen_hsplit_container.visible = true
if !Global.top_menu_container.zen_mode:
tallscreen_hsplit_container.visible = true
tallscreen_hsplit_container.split_offset = tools_and_canvas.split_offset
reparent_node_to(Global.animation_timeline, tallscreen_hsplit_container.get_node("BottomPanel"), 0)
reparent_node_to(right_panel, bottom_panel, 0)