1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-25 14:24:58 +02:00

Update engine.ts

This commit is contained in:
syuilo
2026-06-14 17:04:17 +09:00
parent 64a4283c35
commit 5690d28d4e

View File

@@ -1445,6 +1445,8 @@ export class RoomEngine extends EngineBase<{
this.ev('changeRoomState', { roomState: this.roomState });
this.selected = null;
this.envManager.renderShadow();
this.playSfxUrl('/client-assets/room/sfx/remove.mp3', {
volume: 1,
playbackRate: 1,
@@ -1484,6 +1486,7 @@ export class RoomEngine extends EngineBase<{
this.roomState.env.options = options;
this.sr.disableSnapshotRendering();
this.envManager.applyOptions(options);
this.envManager.renderShadow();
this.sr.enableSnapshotRendering();
this.ev('changeRoomState', { roomState: this.roomState });
}