Pierre Wessman 1aa18376d5 Fix coordinate system to use rink center instead of canvas center
When the pause button was added below the rink, it increased the canvas
height (RINK_HEIGHT + UI_BOTTOM_PADDING). The coordinate conversion was
incorrectly using the full canvas center (including UI padding) instead
of just the rink center, causing y=0 to shift 30 pixels below the actual
center of the rink.

Now CoordinateUtils.gameToScreen/screenToGame correctly use RINK_WIDTH
for centerY calculation, ensuring y=0 is always at the rink center
regardless of UI elements.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-03 13:11:59 +02:00
2025-10-01 13:57:42 +00:00
2025-10-02 08:06:08 +02:00
2025-10-01 13:57:42 +00:00
2025-10-01 13:57:42 +00:00
2025-10-01 13:57:42 +00:00
2025-10-01 13:57:42 +00:00
2025-10-01 11:46:38 +00:00
2025-10-02 08:06:08 +02:00
...
2025-10-02 08:11:21 +02:00
2025-10-01 13:57:42 +00:00
2025-10-01 13:57:42 +00:00
Description
No description provided
344 KiB
Languages
TypeScript 99.2%
HTML 0.8%