summaryrefslogtreecommitdiff
path: root/Tray.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Tray.tscn')
-rw-r--r--Tray.tscn7
1 files changed, 5 insertions, 2 deletions
diff --git a/Tray.tscn b/Tray.tscn
index e0cb6ba..9a4765b 100644
--- a/Tray.tscn
+++ b/Tray.tscn
@@ -52,9 +52,12 @@ size_flags_horizontal = 0
size_flags_vertical = 0
text = "<"
-[node name="Area2D" type="Area2D" parent="."]
+[node name="TrayCollision" type="Area2D" parent="."]
+unique_name_in_owner = true
+collision_layer = 3
+collision_mask = 3
-[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
+[node name="CollisionShape2D" type="CollisionShape2D" parent="TrayCollision"]
[connection signal="resized" from="." to="." method="_on_resized"]
[connection signal="pressed" from="Control/Button" to="." method="_on_button_pressed"]