summaryrefslogtreecommitdiff
path: root/Tray.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-05-17 17:43:29 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-05-17 17:43:56 +0200
commit3e94dd0704d7b4005f17c1086796afdbbe36b1f5 (patch)
tree5183ca775f02a450bbc493193183a06fa3dbc778 /Tray.gd
parent07f373ef408f7701b8bfa543ab3c189465f1eed9 (diff)
export and more dragging
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():