We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b83899 commit ce181ddCopy full SHA for ce181dd
1 file changed
demo/allegro5/nuklear_allegro5.h
@@ -355,7 +355,8 @@ nk_allegro5_handle_event(ALLEGRO_EVENT *ev)
355
al_acknowledge_resize(ev->display.source);
356
return 1;
357
} break;
358
- case ALLEGRO_EVENT_MOUSE_AXES: {
+ case ALLEGRO_EVENT_MOUSE_AXES:
359
+ case ALLEGRO_EVENT_MOUSE_WARPED: {
360
nk_input_motion(ctx, ev->mouse.x, ev->mouse.y);
361
if (ev->mouse.dz != 0) {
362
nk_input_scroll(ctx, nk_vec2(0,(float)ev->mouse.dz / al_get_mouse_wheel_precision()));
0 commit comments