~ashn/raylib

db55bed72b45c97616f0cfaf26448475f80174d5 — mohad12211 1 year, 1 month ago c9864d8
fix: check if ctrl modifier is among the currently set modifiers (#3230)

1 files changed, 1 insertions(+), 1 deletions(-)

M src/rcore.c
M src/rcore.c => src/rcore.c +1 -1
@@ 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)
            {