mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +00:00
Fix issue where the timeline would be unresponsive if zen mode was toggled off and on
This commit is contained in:
parent
a5d51d545c
commit
7b7c572f13
|
@ -471,7 +471,8 @@ func _toggle_zen_mode() -> void:
|
||||||
Global.tool_panel.visible = zen_mode
|
Global.tool_panel.visible = zen_mode
|
||||||
Global.right_panel.visible = zen_mode
|
Global.right_panel.visible = zen_mode
|
||||||
Global.control.find_node("TabsContainer").visible = zen_mode
|
Global.control.find_node("TabsContainer").visible = zen_mode
|
||||||
Global.control.tallscreen_hsplit.visible = zen_mode
|
if Global.panel_layout == Global.PanelLayout.TALLSCREEN:
|
||||||
|
Global.control.tallscreen_hsplit.visible = zen_mode
|
||||||
zen_mode = !zen_mode
|
zen_mode = !zen_mode
|
||||||
view_menu.set_item_checked(ViewMenuId.ZEN_MODE, zen_mode)
|
view_menu.set_item_checked(ViewMenuId.ZEN_MODE, zen_mode)
|
||||||
|
|
||||||
|
@ -573,7 +574,7 @@ func help_menu_id_pressed(id: int) -> void:
|
||||||
OS.shell_open("https://github.com/Orama-Interactive/Pixelorama/issues")
|
OS.shell_open("https://github.com/Orama-Interactive/Pixelorama/issues")
|
||||||
HelpMenuId.OPEN_LOGS_FOLDER:
|
HelpMenuId.OPEN_LOGS_FOLDER:
|
||||||
var dir = Directory.new()
|
var dir = Directory.new()
|
||||||
dir.make_dir_recursive("user://logs") #incase someone deleted it
|
dir.make_dir_recursive("user://logs") # In case someone deleted it
|
||||||
OS.shell_open(ProjectSettings.globalize_path("user://logs"))
|
OS.shell_open(ProjectSettings.globalize_path("user://logs"))
|
||||||
HelpMenuId.CHANGELOG:
|
HelpMenuId.CHANGELOG:
|
||||||
OS.shell_open(
|
OS.shell_open(
|
||||||
|
|
Loading…
Reference in a new issue