浏览代码

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

pull/3233/head
mohad12211 1年前
committed by GitHub
父节点
当前提交
db55bed72b
找不到此签名对应的密钥 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)
{

正在加载...
取消
保存