mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-10-08 20:01:47 +08:00
fix: 部分缩放条件下模糊
This commit is contained in:
parent
fbecb5f8e4
commit
61e09f6395
@ -255,6 +255,7 @@ const MainScene = defineComponent(() => {
|
||||
width={MAIN_WIDTH}
|
||||
height={MAIN_HEIGHT}
|
||||
noanti
|
||||
nocache
|
||||
>
|
||||
<LeftStatusBar
|
||||
loc={[0, 0, STATUS_BAR_WIDTH, STATUS_BAR_HEIGHT]}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user