1
0
forked from Clones/Controlify

✏️ Slightly increase snap point range of slots

This commit is contained in:
isXander
2023-11-01 21:24:56 +00:00
parent a2f13a3095
commit 9960fedad1

View File

@ -31,7 +31,7 @@ public abstract class AbstractContainerScreenMixin<T extends AbstractContainerMe
@Override
public Set<SnapPoint> getSnapPoints() {
return getMenu().slots.stream()
.map(slot -> new SnapPoint(new Vector2i(leftPos + slot.x + 8, topPos + slot.y + 8), 15))
.map(slot -> new SnapPoint(new Vector2i(leftPos + slot.x + 8, topPos + slot.y + 8), 17))
.collect(Collectors.toSet());
}
}