forked from Clones/Controlify
✏️ Slightly increase snap point range of slots
This commit is contained in:
@ -31,7 +31,7 @@ public abstract class AbstractContainerScreenMixin<T extends AbstractContainerMe
|
|||||||
@Override
|
@Override
|
||||||
public Set<SnapPoint> getSnapPoints() {
|
public Set<SnapPoint> getSnapPoints() {
|
||||||
return getMenu().slots.stream()
|
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());
|
.collect(Collectors.toSet());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user