mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-04 19:04:32 +08:00
feat: 优化各种性能表现
This commit is contained in:
1 parent
740dfdb6ce
commit
7e5b20d3ad
10 files changed
+75
-480
No files matched your search
@@ -159,6 +159,7 @@ export class Portal extends Sprite {
|
||||
}
|
||||
|
||||
private renderPortal(canvas: MotaOffscreenCanvas2D) {
|
||||
if (this.renderable.size === 0) return;
|
||||
const { ctx } = canvas;
|
||||
|
||||
const p = this.particleSetting.value;
|
||||
|
||||
Reference in new issue
Block a user