drag & drop with inventory slots

This commit is contained in:
Altaezio
2026-06-08 12:17:37 +02:00
parent 52ebf0e7d5
commit 1e2563e328
7 changed files with 134 additions and 69 deletions

View File

@@ -137,7 +137,11 @@ func take_surrounding_seeds():
if not data.inventory.is_full():
for area in overlapping_areas:
if area is ItemObject and not area in just_dropped_item_objects:
if (
area is ItemObject
and not area in just_dropped_item_objects
and not Pointer.dragging_inspected
):
area.interact(self)
return