@pixerate/editor-svelte 0.213.3 → 0.213.5
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.
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
fitZoom,
|
|
9
9
|
startDeviceTilt,
|
|
10
10
|
startWetClock,
|
|
11
|
+
startCultureCatchUp,
|
|
11
12
|
guideOverlay,
|
|
12
13
|
handlePaintShortcut,
|
|
13
14
|
viewCssTransform,
|
|
@@ -143,10 +144,12 @@
|
|
|
143
144
|
// Live effect paint and biopaint cultures play while the canvas is mounted (idle when nothing is live or paused).
|
|
144
145
|
$effect(() => {
|
|
145
146
|
const c = controller;
|
|
146
|
-
|
|
147
|
+
// Biopaint grown while closed catches up on mount and whenever another document is opened.
|
|
148
|
+
const stopCatchUp = untrack(() => startCultureCatchUp(c));
|
|
147
149
|
const player = untrack(() => c.playEffects());
|
|
148
150
|
const cultures = untrack(() => c.playCultures());
|
|
149
151
|
return () => {
|
|
152
|
+
stopCatchUp();
|
|
150
153
|
player.stop();
|
|
151
154
|
cultures.stop();
|
|
152
155
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixerate/editor-svelte",
|
|
3
|
-
"version": "0.213.
|
|
3
|
+
"version": "0.213.5",
|
|
4
4
|
"description": "Svelte bindings and prompt/rich-text components for @pixerate/editor",
|
|
5
5
|
"author": "Pixerate",
|
|
6
6
|
"license": "MIT",
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
"**/*.css"
|
|
185
185
|
],
|
|
186
186
|
"dependencies": {
|
|
187
|
-
"@pixerate/editor": "0.286.
|
|
187
|
+
"@pixerate/editor": "0.286.2"
|
|
188
188
|
},
|
|
189
189
|
"peerDependencies": {
|
|
190
190
|
"@dagrejs/dagre": "^1.1.4",
|