Fix zen mode.

This commit is contained in:
Relintai 2020-11-29 22:05:48 +01:00
parent 175948b4ac
commit 18215be215

View File

@ -316,8 +316,6 @@ func toggle_show_anim_timeline() -> void:
func toggle_zen_mode() -> void:
if DrawGD.show_animation_timeline:
DrawGD.animation_timeline.visible = zen_mode
DrawGD.control.get_node("MenuAndUI/UI/ToolPanel").visible = zen_mode
DrawGD.control.get_node("MenuAndUI/UI/RightPanel").visible = zen_mode
DrawGD.control.get_node("MenuAndUI/UI/CanvasAndTimeline/ViewportAndRulers/TabsContainer").visible = zen_mode