Преглед на файлове

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

pull/3233/head
mohad12211 преди 2 години
committed by GitHub
родител
ревизия
db55bed72b
No known key found for this signature in database GPG ключ ID: 4AEE18F83AFDEB23
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c Целия файл

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

Зареждане…
Отказ
Запис