Resolution change leads to wrong position of mouse pointer
achimmihca opened this issue · comments
Actual behaviour
When changing the screen size in the settings then the mouse position does not match the button hover and click position anymore. A restart of the app is required to fix it.
Expected behaviour
The mouse position should recognize the new resolution of the game.
I could imagine that this issue occurs because the UI is rendered into a texture which is then blend into the screen using a shader.
The RenderTexture for the UI probably must be updated after resolution changes.
Details
Provide some additional information:
- UltraStar Play version: v0.9.0
- Operating System + version: Windows 11