feat: got the grid snap working , can drag and release around a single grid inventory

This commit is contained in:
Damien Ostler 2024-01-14 15:53:34 -05:00
parent bf2de87f64
commit 7bf40a72d3

View File

@ -119,7 +119,7 @@ public partial class Inventory: Control
Grab(cursor_pos);
}
if (Input.IsActionJustReleased(InventoryDragActionName) && _inventoryItemDragged == null)
if (Input.IsActionJustReleased(InventoryDragActionName) && _inventoryItemDragged != null)
{
Release(cursor_pos);
}