openpencil/packages/core
Danila Poyarkov af8b90a939 Fix text disappearing after hover: invalidate SkPicture on font load
The first render records an SkPicture before fonts are loaded (fallback
drawText path). When fonts finish loading asynchronously, the cached
picture was never invalidated — subsequent renders replayed stale picture
without paragraph text. Hovering a node forced a full re-render (volatile
overlay path), making text reappear. Un-hovering replayed the stale cache.

Fix: call invalidateScenePicture() at the end of loadFonts() so the next
render records a fresh picture with proper paragraph text.
2026-03-02 15:45:58 +03:00
..
src Fix text disappearing after hover: invalidate SkPicture on font load 2026-03-02 15:45:58 +03:00
package.json Fix core exports: node → dist, default → src 2026-03-02 15:03:40 +03:00
tsconfig.json Bump all packages to 0.4.0, fix Node.js ESM compatibility 2026-03-02 14:59:59 +03:00