diff options
| author | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-28 18:13:06 -0700 |
|---|---|---|
| committer | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-28 18:13:06 -0700 |
| commit | 343b9992e296c2b6ce14a0dabafac31b45620e30 (patch) | |
| tree | 411dabbed92b2d142d389e4adc3d3d260d9e96bb /img/static/heart.gif | |
| parent | bbe912778407ee3434b68c959a72b834e1787ba9 (diff) | |
aero: fix 1:1 drag at non-1.0 zoom, scale window text on resize
Drag and resize handlers were reading pointer deltas in visual pixels
but writing to style.left/width which live in the (zoomed) layout
coord space — so dragging at zoom 0.7 lagged 30% behind the cursor.
Now divide deltas by window.__uiScale (set by the desktop-fit script).
Also: when a window is resized, scale its title bar and body via
`zoom` so the text inside grows/shrinks with the window. Baseline is
captured on first resize.
Diffstat (limited to 'img/static/heart.gif')
0 files changed, 0 insertions, 0 deletions
