ihhub / fheroes2

fheroes2 is a recreation of Heroes of Might and Magic II game engine.
https://ihhub.github.io/fheroes2/
GNU General Public License v2.0
2.74k stars 377 forks source link

Game, scrollbars, display the scrollbar cursor directly in its final position #5115

Open LeHerosInconnu opened 2 years ago

LeHerosInconnu commented 2 years ago

Preliminary checks

Describe the problem requiring a solution

When using scrollbars, sometimes the scrollbar cursor is first positioned and then its position is adjusted. Would it be possible to display the cursor directly in its final position?

In fheroes2:

https://user-images.githubusercontent.com/43583994/158027975-fddd8b9e-c76e-4878-bb71-a0c01b11f37e.mp4

Describe the possible solution

Display the scrollbar cursor directly in its final position.

Additional info

Version 0.9.12 5071

ihhub commented 2 years ago

I am moving this issue to 1.0 release.