boardgame-phaser/packages/sts-like-viewer
hypercross 30e2d9ac36 refactor: improve inventory item interaction and state
- Decouple hit area calculation from the rendering effect in
  `InventoryItemContainer`.
- Implement a dedicated `hitArea` property to track cell rectangles.
- Update `setupInteractive` to use the container itself as the hit area
  with a custom callback.
- Move drag-and-drop logic into a dedicated `setupDnDEffect` method.
- Add `addPreviewRotation` to `InventoryItemState` for cleaner rotation
  updates.
- Normalize `previewRotation` to stay within 0-360 degrees.
2026-04-20 21:59:08 +08:00
..
src refactor: improve inventory item interaction and state 2026-04-20 21:59:08 +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