openpencil/src/composables
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
..
use-canvas-input.ts Improve zoom smoothness, add absolute position cache (#21) 2026-03-03 11:44:31 +03:00
use-canvas.ts Cache effect ImageFilters and reuse layer paint 2026-03-03 10:12:02 +03:00
use-chat.ts Replace store thunks with a late-binding proxy 2026-03-02 18:36:27 +03:00
use-collab.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
use-font-status.ts Render text from SkPicture cache when fonts are missing 2026-03-02 19:35:04 +03:00
use-keyboard.ts Replace store thunks with a late-binding proxy 2026-03-02 18:36:27 +03:00
use-menu.ts Replace store thunks with a late-binding proxy 2026-03-02 18:36:27 +03:00
use-node-props.ts Replace relative imports with @/ alias 2026-02-28 23:08:45 +03:00
use-text-edit.ts Rich text style runs with per-selection bold/italic/underline 2026-03-01 09:03:38 +03:00
use-toast.ts Toast notifications via Reka UI Toast 2026-03-01 18:25:04 +03:00