瀏覽代碼

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

Loading…
取消
儲存