Skip to content

Commit 10a454f

Browse files
committed
update plugin migrate
1 parent 72c9b6c commit 10a454f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

public/litecanvas.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2108,14 +2108,16 @@
21082108
}
21092109
let Y = a.fill;
21102110
function z(t, e) {
2111-
if (s("fill(color, path)"), e instanceof Path2D) {
2111+
if (e instanceof Path2D) {
2112+
s("fill(color, path)");
21122113
let r = a.stat(5), i = a.ctx();
21132114
i.fillStyle = r[~~t % r.length], a.ctx().fill(e);
21142115
} else Y(t);
21152116
}
21162117
let N = a.stroke;
21172118
function X(t, e) {
2118-
if (s("stroke(color, path)"), e instanceof Path2D) {
2119+
if (e instanceof Path2D) {
2120+
s("stroke(color, path)");
21192121
let r = a.stat(5), i = a.ctx();
21202122
i.strokeStyle = r[~~t % r.length], a.ctx().stroke(e);
21212123
} else N(t);

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.7.3";
2+
const version = "2025.7.7.4";
33

44
const precacheResources = [
55
"/",

0 commit comments

Comments
 (0)