🐛 fix UI repositioning and mouse coords after window resize
This commit is contained in:
@@ -7,6 +7,11 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
- UI elements (stockpile panel, controls hint) now reposition correctly after window resize
|
||||
- Centered overlay panels (build menu, villager panel) close on resize so they reopen at the correct position
|
||||
- Mouse world coordinates now use `ptr.worldX`/`ptr.worldY` in BuildingSystem and FarmingSystem, fixing misalignment after resize or zoom
|
||||
|
||||
### Added
|
||||
- Right-click context menu: suppresses browser default, shows Build and Folks actions in the game world
|
||||
- Initial project setup: Phaser 3 + TypeScript + Vite
|
||||
|
||||
Reference in New Issue
Block a user