Skip to content

Fix #3137: Viewport interaction is offset by window position#3209

Merged
ZehMatt merged 2 commits intoOpenLoco:masterfrom
ZehMatt:fix-3137
Aug 16, 2025
Merged

Fix #3137: Viewport interaction is offset by window position#3209
ZehMatt merged 2 commits intoOpenLoco:masterfrom
ZehMatt:fix-3137

Conversation

@ZehMatt
Copy link
Copy Markdown
Contributor

@ZehMatt ZehMatt commented Aug 16, 2025

This is not the prettiest solution, ideally it transforms the position underneath but there is a bit of cleaning up to do, for now this will fix the issue without having major refactoring going on.

Closes #3137

@ZehMatt ZehMatt added the changelog Requires a changelog entry label Aug 16, 2025
@ZehMatt ZehMatt added this to the v25.07+ milestone Aug 16, 2025
Copy link
Copy Markdown
Member

@AaronVanGeffen AaronVanGeffen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks to be working correctly now 👍

@ZehMatt ZehMatt merged commit 9d1ba1d into OpenLoco:master Aug 16, 2025
10 checks passed
@ZehMatt ZehMatt deleted the fix-3137 branch August 16, 2025 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog Requires a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cursor position in viewports offset incorrectly based on where the window is

2 participants