Parcourir la source

fix: check if ctrl modifier is among the currently set modifiers (#3230)

pull/3233/head
mohad12211 il y a 1 an
committed by GitHub
Parent
révision
db55bed72b
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c Voir le fichier

@ -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)
{

||||||
x
 
000:0
Chargement…
Annuler
Enregistrer