From a0514bad983519c5a62e38d02d770ab2010ade35 Mon Sep 17 00:00:00 2001 From: HiveBeats Date: Tue, 5 Sep 2023 22:10:09 +0400 Subject: [PATCH] fix: key bindings for note release --- src/Application.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Application.cpp b/src/Application.cpp index 4936cb4..6ec69e0 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -86,9 +86,9 @@ bool Application::detect_note_pressed(Note* note) { } bool is_note_up() { - return IsKeyReleased(KEY_A) || IsKeyReleased(KEY_B) || - IsKeyReleased(KEY_C) || IsKeyReleased(KEY_D) || - IsKeyReleased(KEY_E) || IsKeyReleased(KEY_F) || IsKeyReleased(KEY_G); + return IsKeyUp(KEY_A) || IsKeyUp(KEY_B) || + IsKeyUp(KEY_C) || IsKeyUp(KEY_D) || + IsKeyUp(KEY_E) || IsKeyUp(KEY_F) || IsKeyUp(KEY_G); } // Update On Input