@novely/solid-renderer 0.16.0 → 0.16.2
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.jsx +3 -4
- package/package.json +1 -1
package/dist/index.jsx
CHANGED
|
@@ -4575,12 +4575,11 @@ var Save = (props) => {
|
|
|
4575
4575
|
} = iframe();
|
|
4576
4576
|
if (!contentDocument)
|
|
4577
4577
|
return;
|
|
4578
|
-
contentDocument.head.insertAdjacentHTML("beforeend", `<style>:root { font-size: 30%; background: black; cursor: pointer; } *:not(html, body) { pointer-events: none; }</style><style>${stylesheet()}</style>`);
|
|
4578
|
+
contentDocument.head.insertAdjacentHTML("beforeend", `<style>:root { font-size: 30%; background: black; cursor: pointer; } *:not(html, body) { pointer-events: none; } *, *::before, *::after { animation-play-state: paused !important; }</style><style>${stylesheet()}</style>`);
|
|
4579
4579
|
contentDocument.body.addEventListener("click", onIframeClick);
|
|
4580
4580
|
context.root = contentDocument.body;
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
});
|
|
4581
|
+
contentDocument.body.appendChild(game);
|
|
4582
|
+
options.preview(props.save, KEY);
|
|
4584
4583
|
};
|
|
4585
4584
|
createEffect(() => {
|
|
4586
4585
|
const iframeElement = iframe();
|