move some files around
This commit is contained in:
parent
47c4f2045c
commit
cfe7501fe2
12 changed files with 78 additions and 49 deletions
|
|
@ -334,6 +334,9 @@ SDL_AppResult SDL_AppIterate(void* appstate) {
|
|||
|
||||
if (app->ui) {
|
||||
pxl8_ui_input_mousemove(app->ui, app->input.mouse_x, app->input.mouse_y);
|
||||
if (app->input.mouse_wheel_x != 0 || app->input.mouse_wheel_y != 0) {
|
||||
pxl8_ui_input_scroll(app->ui, app->input.mouse_wheel_x * 10, -app->input.mouse_wheel_y * 10);
|
||||
}
|
||||
|
||||
pxl8_ui_frame_begin(app->ui);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue