mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 20:52:19 +00:00
Forgot to multiply xscale
This commit is contained in:
parent
82f9aecacb
commit
f5743f4610
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue