Skip to content

Commit 669905f

Browse files
committed
fix: redraw
1 parent 591876d commit 669905f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/painter/lib/wx-canvas.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,9 +540,9 @@ export default class WxCanvas {
540540
for (const step of realstepList) {
541541
this.implementMinaStep(step);
542542
}
543-
this.ctx.draw(reserve, func);
544543
realstepList.length = 0;
545544
}
545+
this.ctx.draw(reserve, func);
546546
} else if (this.type === "2d") {
547547
if (!reserve) {
548548
this.ctx.clearRect(0, 0, this.canvasNode.width, this.canvasNode.height);

0 commit comments

Comments
 (0)