Browse Source

Reviewed `IsKeyPressedRepeat()` #3248

pull/3248/head
Ray 1 year ago
parent
commit
dfd0436428
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c View File

@ -3761,7 +3761,7 @@ bool IsKeyPressed(int key)
bool IsKeyPressedRepeat(int key) bool IsKeyPressedRepeat(int key)
{ {
if (CORE.Input.Keyboard.keyRepeatInFrame[key] == 1) return true; if (CORE.Input.Keyboard.keyRepeatInFrame[key] == 1) return true;
else return true;
else return false;
} }
// Check if a key is being pressed (key held down) // Check if a key is being pressed (key held down)

Loading…
Cancel
Save