File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -521,12 +521,22 @@ export class RoomAsyncBridge {
521
521
if ( window . manager ) {
522
522
window . manager . setReadonly ( disable ) ;
523
523
}
524
+ if ( window . appliancePlugin ) {
525
+ window . appliancePlugin . disableDeviceInputs = disable
526
+ }
524
527
this . room . disableDeviceInputs = disable ;
525
528
updateIframePluginState ( this . room ) ;
526
529
}
527
530
531
+ // not used now
528
532
disableOperations = ( disableOperations : boolean ) => {
529
533
this . room . disableCameraTransform = disableOperations ;
534
+ if ( window . manager ) {
535
+ window . manager . setReadonly ( disableOperations ) ;
536
+ }
537
+ if ( window . appliancePlugin ) {
538
+ window . appliancePlugin . disableDeviceInputs = disableOperations
539
+ }
530
540
this . room . disableDeviceInputs = disableOperations ;
531
541
updateIframePluginState ( this . room ) ;
532
542
}
You can’t perform that action at this time.
0 commit comments