mirror of
https://github.com/D4M13N-D3V/godot_grid_inventory.git
synced 2025-03-14 08:14:55 +00:00
feat: got the grid snap working , can drag and release around a single grid inventory
This commit is contained in:
parent
bf2de87f64
commit
7bf40a72d3
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user