openpencil/tests
Danila Poyarkov a32b134eba
Improve zoom smoothness, add absolute position cache (#21)
* Improve trackpad pinch-zoom smoothness

- Replace Math.pow(0.99, delta) with Math.exp(-delta/100) zoom curve
  for natural, symmetric scaling that handles both tiny trackpad deltas
  and large mouse wheel jumps gracefully
- Normalize wheel deltaMode (LINE → 40px, PAGE → 800px) so external
  mice on Firefox produce consistent zoom behavior
- Clamp per-flush scale factor to 0.75–1.25 to prevent jarring jumps
  from discrete mouse wheel ticks

* Add per-frame absolute position cache for SceneGraph
2026-03-03 11:44:31 +03:00
..
e2e Shadow rendering performance: per-node SkPicture cache (#25) 2026-03-03 11:37:01 +03:00
engine Improve zoom smoothness, add absolute position cache (#21) 2026-03-03 11:44:31 +03:00
figma Playwright visual regression testing with Figma CDP reference 2026-02-28 07:32:15 +03:00
fixtures Add .fig test fixtures (LFS) and fix O(n²) import bottleneck 2026-03-01 09:55:07 +03:00
helpers Fix silent rendering crash, no-chrome test mode, error detection 2026-02-28 08:39:19 +03:00