boardgame-phaser/packages/sts-like-viewer
hypercross c9f573ef86 feat(sts-viewer): add item rotation support in inventory
Introduces the ability to rotate inventory items using the Alt button
during drag-and-drop.

- Updates `InventoryItemContainer` to handle rotation via
  `previewRotation`
- Adds `newRotation` parameter to `onMoveItem` callback and `moveItem`
  command
- Updates `InventoryItemState` to manage rotation state and compute
  transformed shapes
- Implements rotation logic in `renderGraphics` using `transformShape`
2026-04-20 21:40:23 +08:00
..
src feat(sts-viewer): add item rotation support in inventory 2026-04-20 21:40:23 +08:00
index.html feat: sts-like-viewer 2026-04-13 12:38:41 +08:00
package.json feat: sts-like-viewer 2026-04-13 12:38:41 +08:00
tsconfig.json Refactor inventory drag to use dragDropEventEffect 2026-04-19 00:12:56 +08:00
vite.config.ts feat: sts-like-viewer 2026-04-13 12:38:41 +08:00