Fix for stuck scrollwheel on macOS

This commit is contained in:
Daniel Collin 2021-11-28 18:03:01 +01:00
parent 2b2540067c
commit 883679e96b

View file

@ -479,6 +479,11 @@ static int update_events()
static int generic_update(OSXWindow* win)
{
if (win->shared_data) {
win_shared_data->scroll_x = 0.0f;
win_shared_data->scroll_y = 0.0f;
}
int state = update_events();
if (win->shared_data) {