Fix mouse cursor unhiding logic to reset on mouse being hidden
This commit is contained in:
parent
33167f2057
commit
d1c61f52db
1 changed files with 1 additions and 0 deletions
|
|
@ -1938,6 +1938,7 @@ set_os_window_title(OSWindow *w, const char *title) {
|
|||
void
|
||||
hide_mouse(OSWindow *w) {
|
||||
glfwSetInputMode(w->handle, GLFW_CURSOR, GLFW_CURSOR_HIDDEN);
|
||||
w->mouse_activate_deadline = -1;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Reference in a new issue