EverestAPI / EverestAPI/CelesteTAS-EverestInterop
Mouse coordinates are translated incorrectly when window is not in 16:9
- Dominant language
- C#
- Stars
- 85
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
If the game window is put it any ratio other than 16:9 (in my case, it happened because I was in fullscreen on a 3:2 monitor, but I can also replicate it by just...changing the window size normally), mouse coordinates do not get translated correctly to game coordinates when selecting objects in debug. In particular, it seems that it's acting as if the gameplay area were upper left aligned rather than center aligned, so a tall window will result in having to click above an object, and a wide window will result in having to click to the left of an object.
https://github.com/user-attachments/assets/f5664e54-60b8-421c-9a40-dd80a507f2f9
P.S. I may be stupid; for some reason I thought this was the wrong repo and closed the previous issue I made.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.