Forgot to multiply xscale
This commit is contained in:
parent
82f9aecacb
commit
f5743f4610
@ -905,6 +905,7 @@ is_ascii_control_char(char x) {
|
||||
if (flags) {
|
||||
float xscale = 1, yscale = 1;
|
||||
_glfwPlatformGetWindowContentScale(window, &xscale, &yscale);
|
||||
if (xscale > 0) deltaX *= xscale;
|
||||
if (yscale > 0) deltaY *= yscale;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user