Fix scrolling #94

Merged
MartinFouilleul merged 1 commits from ilidemi/orca:fix-scrolling into main 2023-09-11 09:44:11 +00:00
1 changed files with 0 additions and 1 deletions
Showing only changes of commit afbb4329f5 - Show all commits

View File

@ -98,7 +98,6 @@ static void oc_update_mouse_wheel(oc_input_state* state, f32 deltaX, f32 deltaY)
oc_mouse_state* mouse = &state->mouse;
if(mouse->lastUpdate != frameCounter)
{
mouse->posValid = false;
mouse->delta = (oc_vec2){ 0, 0 };
mouse->wheel = (oc_vec2){ 0, 0 };
mouse->lastUpdate = frameCounter;