fix: 部分缩放条件下模糊

This commit is contained in:
AncTe committed 2025-09-30 13:33:39 +08:00
1 parent fbecb5f8e4
commit 61e09f6395
2 files changed
+2

No files matched your search

+1
View File
@@ -442,6 +442,7 @@ export abstract class RenderItem<E extends ERenderItemEvent = ERenderItemEvent>
this.cacheDirty = false;
}
canvas.ctx.imageSmoothingEnabled = false;
canvas.ctx.drawImage(this.cache.canvas, ax, ay, width, height);
} else {
canvas.ctx.translate(ax, ay);