From 625f308d4b791677338345841e3e7597a0f79c77 Mon Sep 17 00:00:00 2001 From: Nathan Lovato <12694995+NathanLovato@users.noreply.github.com> Date: Fri, 5 Aug 2022 11:08:25 +0200 Subject: [PATCH] fix: prevent side panel from overflowing window with the largest font size fix #543 --- ui/UIPractice.gd | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/ui/UIPractice.gd b/ui/UIPractice.gd index a3ab87cf..57e37b39 100644 --- a/ui/UIPractice.gd +++ b/ui/UIPractice.gd @@ -421,10 +421,8 @@ func _toggle_distraction_free_mode() -> void: func _disable_distraction_free_mode() -> void: - _update_slidable_panels() - _is_info_panel_open = true - _tween.stop_all() + _tween.remove_all() _tween.interpolate_property( _info_panel_anchors, @@ -462,7 +460,7 @@ func _enable_distraction_free_mode() -> void: _update_slidable_panels() _is_info_panel_open = false - _tween.stop_all() + _tween.remove_all() _tween.interpolate_property( _info_panel_anchors, @@ -508,7 +506,7 @@ func _show_solution_panel() -> void: _update_slidable_panels() _is_solution_panel_open = true - _tween.stop_all() + _tween.remove_all() _tween.interpolate_property( _solution_panel, @@ -537,7 +535,7 @@ func _hide_solution_panel() -> void: _update_slidable_panels() _is_solution_panel_open = false - _tween.stop_all() + _tween.remove_all() _tween.interpolate_property( _solution_panel,