1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-14 08:45:44 +02:00
This commit is contained in:
syuilo
2026-04-27 10:58:23 +09:00
parent eb1357026d
commit f52ac6351d
2 changed files with 29 additions and 9 deletions

View File

@@ -293,6 +293,14 @@ export class RoomController {
}
}
public updateRoomLightColor(color: [number, number, number]) {
if (this.worker != null) {
this.worker.postMessage({ type: 'updateRoomLightColor', color });
} else if (this.engine != null) {
this.engine.updateRoomLightColor(color);
}
}
public beginSelectedInstalledObjectGrabbing() {
if (this.worker != null) {
this.worker.postMessage({ type: 'beginSelectedInstalledObjectGrabbing' });