mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-14 18:54:30 +08:00
fix: 部分缩放条件下模糊
This commit is contained in:
1 parent
fbecb5f8e4
commit
61e09f6395
2 files changed
+2
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user