Skip to content

Commit 5f69a97

Browse files
committed
improve editor
1 parent 0ebc692 commit 5f69a97

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

public/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/preview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@
9393
window.litecanvas = (settings = {}) => {
9494
const instance = _litecanvas(settings);
9595
instance.use(pluginMigrate);
96-
instance.use(pluginFrameRateMeter, {
97-
hidden: false,
98-
});
96+
if (false !== settings.animate) {
97+
instance.use(pluginFrameRateMeter);
98+
}
9999
instance.use(pluginPixelFont);
100100
instance.listen("before:init", () => {
101101
instance.use(pluginAssetLoader);

public/sw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const cacheName = "luizbills.litecanvas-editor-v1";
2-
const version = "2025.7.9.0";
2+
const version = "2025.7.11.0";
33

44
const precacheResources = [
55
"/",

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function $$(selector, parent = document) {
3636
}
3737

3838
// window.Babel = Babel;
39-
Babel.registerPlugin("loopProtection", loopProtection(500));
39+
Babel.registerPlugin("loopProtection", loopProtection(1000));
4040

4141
/**
4242
* @param {string} code

0 commit comments

Comments
 (0)