inventory grid: don't drag grid square when dragging items

This commit is contained in:
Adam
2020-02-07 10:37:18 -05:00
parent 77694d65bc
commit cda92a18dc

View File

@@ -103,7 +103,7 @@ class InventoryGridOverlay extends Overlay
{
WidgetItem targetWidgetItem = inventoryWidget.getWidgetItem(i);
final Rectangle bounds = targetWidgetItem.getCanvasBounds();
final Rectangle bounds = targetWidgetItem.getCanvasBounds(false);
boolean inBounds = bounds.contains(mousePoint);
if (config.showItem() && inBounds)