Skip to content

Commit

Permalink
fix: check if ctrl modifier is among the currently set modifiers (#3230)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohad12211 authored Aug 7, 2023
1 parent c9864d8 commit db55bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -5609,7 +5609,7 @@ static void KeyCallback(GLFWwindow *window, int key, int scancode, int action, i
if ((key == GLFW_KEY_F12) && (action == GLFW_PRESS))
{
#if defined(SUPPORT_GIF_RECORDING)
if (mods == GLFW_MOD_CONTROL)
if (mods & GLFW_MOD_CONTROL)
{
if (gifRecording)
{
Expand Down

0 comments on commit db55bed

Please sign in to comment.