Browse Source

Touch: fix creating call popup

master
Eduard Kuzmenko 3 years ago
parent
commit
8657a10faf
  1. 5
      src/components/call/index.ts

5
src/components/call/index.ts

@ -193,9 +193,12 @@ export default class PopupCall extends PopupElement { @@ -193,9 +193,12 @@ export default class PopupCall extends PopupElement {
previousState: !this.instance.wasTryingToJoin && !this.instance.isOutgoing ? {...INIT_STATE} : previousState
});
this.listenerSetter.add(this.movablePanel.movable)('resize', () => {
const movableElement = this.movablePanel.movable;
if(movableElement) {
this.listenerSetter.add(movableElement)('resize', () => {
this.resizeVideoContainers();
});
}
const controlsHover = this.controlsHover = new ControlsHover();
controlsHover.setup({

Loading…
Cancel
Save