mirror of
https://github.com/Drezil/imgui.git
synced 2025-02-20 15:52:43 +00:00
This helps a lot when the user drags a slider but carries the cursor offscreen before releasing the button - without the capturing, the slider will "stick" to the mouse cursor even after the button has been released. (This should generally be added to all Windows implementations - I won't mind doing it if you think it's a good idea.)