Quellcode durchsuchen

have .scroll be 0 by default

pull/4637/head
ColleagueRiley vor 3 Monaten
Ursprung
Commit
e75de4ba49
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. +2
    -2
      src/platforms/rcore_desktop_rgfw.c

+ 2
- 2
src/platforms/rcore_desktop_rgfw.c Datei anzeigen

@ -1014,7 +1014,7 @@ void PollInputEvents(void)
{
CORE.Input.Mouse.currentWheelMove.y = event->scroll;
break;
}
} else CORE.Input.Mouse.currentWheelMove.y = 0;
int btn = event->button;
if (btn == RGFW_mouseLeft) btn = 1;
@ -1032,7 +1032,7 @@ void PollInputEvents(void)
{
CORE.Input.Mouse.currentWheelMove.y = event->scroll;
break;
}
} else CORE.Input.Mouse.currentWheelMove.y = 0;
int btn = event->button;
if (btn == RGFW_mouseLeft) btn = 1;

Laden…
Abbrechen
Speichern