summaryrefslogtreecommitdiff
path: root/Tray.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Tray.gd')
-rw-r--r--Tray.gd5
1 files changed, 0 insertions, 5 deletions
diff --git a/Tray.gd b/Tray.gd
index 3e117af..5f40fd2 100644
--- a/Tray.gd
+++ b/Tray.gd
@@ -49,11 +49,6 @@ func close():
func _on_resized():
%Button.global_position = global_position - Vector2(%Button.size.x, 0)
-
- var shape = RectangleShape2D.new()
- shape.size = size
- %TrayCollision/CollisionShape2D.shape = shape
- %TrayCollision/CollisionShape2D.position = size / 2
func _on_button_pressed():