mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 03:18:14 +00:00
fix: check if ctrl modifier is among the currently set modifiers (#3230)
This commit is contained in:
@@ -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 ((key == GLFW_KEY_F12) && (action == GLFW_PRESS))
|
||||||
{
|
{
|
||||||
#if defined(SUPPORT_GIF_RECORDING)
|
#if defined(SUPPORT_GIF_RECORDING)
|
||||||
if (mods == GLFW_MOD_CONTROL)
|
if (mods & GLFW_MOD_CONTROL)
|
||||||
{
|
{
|
||||||
if (gifRecording)
|
if (gifRecording)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user