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

GetCurrentMonitor() bugfix (#3058)

* GetCurrentMonitor() bugfix

* GetCurrentMonitor() bugfix
pull/3066/head
hamyy преди 1 година
committed by GitHub
родител
ревизия
26a3536958
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 Целия файл

@ -1785,7 +1785,7 @@ int GetCurrentMonitor(void)
monitor = monitors[i];
glfwGetMonitorWorkarea(monitor, &mx, &my, &width, &height);
if (x >= mx && x <= (mx + width) && y >= my && y <= (my + height))
if (x >= mx && x < (mx + width) && y >= my && y < (my + height))
{
index = i;
break;

||||||
x
 
000:0
Зареждане…
Отказ
Запис