Skip to content

Commit

Permalink
Revert one of bad changes
Browse files Browse the repository at this point in the history
  • Loading branch information
UnrealKaraulov committed Dec 6, 2023
1 parent da86a3c commit d71e649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void key_callback(GLFWwindow* window, int key, int scancode, int action, int mod
}

g_app->oldPressed[key] = g_app->pressed[key];
g_app->pressed[key] = action == GLFW_PRESS;
g_app->pressed[key] = action != GLFW_RELEASE;
}

void drop_callback(GLFWwindow* window, int count, const char** paths)
Expand Down

0 comments on commit d71e649

Please sign in to comment.