fix: check if ctrl modifier is among the currently set modifiers (#3230)
This commit is contained in:
parent
c9864d8ac1
commit
db55bed72b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue