mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-03-14 15:25:17 +00:00
Keep the tallscreen hsplit container invisible if we're changing panel layout mode in Zen mode
This commit is contained in:
parent
3d0d0b0335
commit
7bbc01d978
1 changed files with 2 additions and 1 deletions
|
@ -83,6 +83,7 @@ func change_ui_layout(mode : String) -> void:
|
||||||
if mode == "tallscreen" and not tallscreen_is_active:
|
if mode == "tallscreen" and not tallscreen_is_active:
|
||||||
tallscreen_is_active = true
|
tallscreen_is_active = true
|
||||||
# changing visibility and re-parenting of nodes for tall screen
|
# changing visibility and re-parenting of nodes for tall screen
|
||||||
|
if !Global.top_menu_container.zen_mode:
|
||||||
tallscreen_hsplit_container.visible = true
|
tallscreen_hsplit_container.visible = true
|
||||||
tallscreen_hsplit_container.split_offset = tools_and_canvas.split_offset
|
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(Global.animation_timeline, tallscreen_hsplit_container.get_node("BottomPanel"), 0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue