fix particle2d preview error (#326)

This commit is contained in:
zxx43
2026-09-05 18:58:01 +08:00
committed by GitHub
parent 54fd070848
commit 3b71bf6935
+1 -1
View File
@@ -797,7 +797,7 @@ export class ParticleSystem2D extends UIRenderer {
}
private _startPreview (): void {
if (this._preview) {
if (!this._preview) {
this.resetSystem();
}
}