Play icon indicating copy to clipboard operation
Play copied to clipboard

Resolution change leads to wrong position of mouse pointer

Open achimmihca opened this issue 3 years ago • 1 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

achimmihca avatar Mar 06 '23 17:03 achimmihca

This should have been fixed with #413 Needs re-testing.

achimmihca avatar Mar 29 '23 11:03 achimmihca