From 2b4d85ac3e8d034dca0c383b23d89ff12d5be8fe Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas Date: Sun, 11 Feb 2024 18:21:35 +0200 Subject: [PATCH] Fix PointCollapseContainer's TextureRect being rotated incorrectly --- src/UI/PerspectiveEditor/PointCollapseContainer.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/PerspectiveEditor/PointCollapseContainer.gd b/src/UI/PerspectiveEditor/PointCollapseContainer.gd index 1d281d29f71..def05740582 100644 --- a/src/UI/PerspectiveEditor/PointCollapseContainer.gd +++ b/src/UI/PerspectiveEditor/PointCollapseContainer.gd @@ -27,7 +27,7 @@ func _set_visible(press: bool) -> void: if press: $TextureRect.rotation = 0 else: - $TextureRect.rotation = -90 + $TextureRect.rotation = -PI / 2 content.visible = press