@pixldocs/canvas-renderer 0.5.26 → 0.5.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -11947,6 +11947,7 @@ function PixldocsPreview(props) {
|
|
|
11947
11947
|
const bump = () => {
|
|
11948
11948
|
if (cancelled) return;
|
|
11949
11949
|
clearMeasurementCache();
|
|
11950
|
+
clearFabricCharCache();
|
|
11950
11951
|
setFontsReadyVersion((v) => v + 1);
|
|
11951
11952
|
};
|
|
11952
11953
|
(_b = (_a = document.fonts) == null ? void 0 : _a.ready) == null ? void 0 : _b.then(bump);
|