mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update engine.ts
This commit is contained in:
parent
64a4283c35
commit
5690d28d4e
1 changed files with 3 additions and 0 deletions
|
|
@ -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 });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue