summaryrefslogtreecommitdiff
path: root/Tray.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Tray.gd')
-rw-r--r--Tray.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tray.gd b/Tray.gd
index 2ff15a9..9936ef1 100644
--- a/Tray.gd
+++ b/Tray.gd
@@ -46,8 +46,8 @@ func _on_resized():
var shape = RectangleShape2D.new()
shape.size = size
- $Area2D/CollisionShape2D.shape = shape
- $Area2D/CollisionShape2D.position = size / 2
+ %TrayCollision/CollisionShape2D.shape = shape
+ %TrayCollision/CollisionShape2D.position = size / 2
func _on_button_pressed():