We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 171090c commit 49a68f5Copy full SHA for 49a68f5
demo/allegro5/nuklear_allegro5.h
@@ -354,7 +354,8 @@ nk_allegro5_handle_event(ALLEGRO_EVENT *ev)
354
al_acknowledge_resize(ev->display.source);
355
return 1;
356
} break;
357
- case ALLEGRO_EVENT_MOUSE_AXES: {
+ case ALLEGRO_EVENT_MOUSE_AXES:
358
+ case ALLEGRO_EVENT_MOUSE_WARPED: {
359
nk_input_motion(ctx, ev->mouse.x, ev->mouse.y);
360
if (ev->mouse.dz != 0) {
361
nk_input_scroll(ctx, nk_vec2(0,(float)ev->mouse.dz / al_get_mouse_wheel_precision()));
0 commit comments