openpencil/src
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
..
ai Unify tool definitions: define once, adapt for AI/CLI/MCP 2026-03-01 15:02:05 +03:00
components Fix effects rendering: shadows, blur, spread (#24) 2026-03-03 09:53:39 +03:00
composables Improve zoom smoothness, add absolute position cache (#21) 2026-03-03 11:44:31 +03:00
engine Cache effect ImageFilters and reuse layer paint 2026-03-03 10:12:02 +03:00
kiwi Deduplicate kiwi and serialization code 2026-03-01 10:59:35 +03:00
shims Stub shiki to eliminate 9MB of unused language grammars 2026-03-01 20:05:52 +03:00
stores Improve zoom smoothness, add absolute position cache (#21) 2026-03-03 11:44:31 +03:00
views Add context menu to layers panel 2026-03-02 19:45:09 +03:00
app.css Collab UI polish, vue-router, extract HsvColorArea 2026-03-01 17:15:08 +03:00
App.vue Toast notifications via Reka UI Toast 2026-03-01 18:25:04 +03:00
constants.ts Improve zoom smoothness, add absolute position cache (#21) 2026-03-03 11:44:31 +03:00
demo.ts Shadow rendering performance: per-node SkPicture cache (#25) 2026-03-03 11:37:01 +03:00
env.d.ts Replace emoji icons with Lucide via Iconify (unplugin-icons) 2026-02-28 08:24:42 +03:00
global.d.ts Release v0.3.2 2026-03-02 11:36:18 +03:00
main.ts Collab UI polish, vue-router, extract HsvColorArea 2026-03-01 17:15:08 +03:00
router.ts Collab UI polish, vue-router, extract HsvColorArea 2026-03-01 17:15:08 +03:00
types.ts Extract @open-pencil/core package 2026-03-01 01:03:07 +03:00