Skip to content
This repository was archived by the owner on Feb 28, 2026. It is now read-only.

Item swapping between grids and single slots#25

Open
Saiki013 wants to merge 1 commit intoinurentto:mainfrom
Saiki013:feature/item-swap
Open

Item swapping between grids and single slots#25
Saiki013 wants to merge 1 commit intoinurentto:mainfrom
Saiki013:feature/item-swap

Conversation

@Saiki013
Copy link
Copy Markdown

@Saiki013 Saiki013 commented Aug 7, 2025

Summary

  • Allow item swapping between single slots and grids.
  • When replacing an item, it will move to the dragged item's exact position; if that fails, it will fallback to the next available position.
  • If the replacement also fails, all positions will revert.
  • Items now show a yellow highlight when a swap is possible.

Note: I'm unsure if the current implementation of middlewareReturn works as intended for the replaced items.

@Saiki013 Saiki013 force-pushed the feature/item-swap branch from 72bcdc9 to 867e6ec Compare August 9, 2025 11:00
- Items can swap between single slots and grids
- Items will swap the exact position and fallback to the next position
- Items show yellow highlight when swapping is possible

Item swapping between grids and single slots (improved)
@Saiki013 Saiki013 force-pushed the feature/item-swap branch from 867e6ec to 8ad5373 Compare August 9, 2025 11:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant