mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-12 20:41:26 -07:00
dont feed forward scroll events either
This commit is contained in:
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user