Skip to content

Commit

Permalink
dont feed forward scroll events either
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfleury committed Jan 24, 2024
1 parent 55e06d0 commit 56332b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/raddbg/raddbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,8 @@ update_and_render(OS_Handle repaint_window_handle, void *user_data)
(ev->kind == OS_EventKind_Press && ev->key != OS_Key_MiddleMouseButton) ||
(ev->kind == OS_EventKind_Release && ev->key != OS_Key_LeftMouseButton) ||
(ev->kind == OS_EventKind_Release && ev->key != OS_Key_RightMouseButton) ||
(ev->kind == OS_EventKind_Release && ev->key != OS_Key_MiddleMouseButton))
(ev->kind == OS_EventKind_Release && ev->key != OS_Key_MiddleMouseButton) ||
(ev->kind == OS_EventKind_Scroll))
{
os_eat_event(&leftover_events, ev);
}
Expand Down

0 comments on commit 56332b7

Please sign in to comment.