- 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. |
||
|---|---|---|
| docs | ||
| packages | ||
| .gitignore | ||
| .qwenignore | ||
| AGENTS.md | ||
| QWEN.md | ||
| eslint.config.js | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| tsconfig.base.json | ||