mirror of
https://github.com/raysan5/raylib.git
synced 2026-09-14 01:50:50 +00:00
[rcore_desktop_glfw.c] Do not reset mouse position user when user is off window (#6134)
See this comment and Jeffs as to why https://github.com/raysan5/raylib/issues/5945#issuecomment-5595141064
This commit is contained in:
@@ -2207,7 +2207,6 @@ static void CursorEnterCallback(GLFWwindow *window, int entered)
|
||||
else
|
||||
{
|
||||
CORE.Input.Mouse.cursorOnScreen = false;
|
||||
CORE.Input.Mouse.currentPosition = (Vector2){ 0 };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user