DrawCamera works on events
This commit is contained in:
parent
a53fd7c1dd
commit
e6c87ecf87
14 changed files with 132 additions and 79 deletions
|
|
@ -748,6 +748,7 @@ SDL_AppResult SDL_AppEvent(void *appstate, SDL_Event *event) {
|
|||
mS.m->input.backend_mouse_button_down_update(event->button);
|
||||
break;
|
||||
case SDL_EVENT_MOUSE_WHEEL:
|
||||
mS.m->update_scale_and_density();
|
||||
mS.m->input.backend_mouse_wheel_update(event->wheel);
|
||||
break;
|
||||
case SDL_EVENT_KEY_DOWN:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue