Don't use onResize
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
2e535d2a99
commit
d244ea3b14
|
|
@ -167,7 +167,6 @@ export default class AuxPanel extends React.Component<IProps, IState> {
|
||||||
const callView = (
|
const callView = (
|
||||||
<CallViewForRoom
|
<CallViewForRoom
|
||||||
roomId={this.props.room.roomId}
|
roomId={this.props.room.roomId}
|
||||||
onResize={this.props.onResize}
|
|
||||||
maxVideoHeight={this.props.maxHeight}
|
maxVideoHeight={this.props.maxHeight}
|
||||||
resizeNotifier={this.props.resizeNotifier}
|
resizeNotifier={this.props.resizeNotifier}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -29,10 +29,6 @@ interface IProps {
|
||||||
// maxHeight style attribute for the video panel
|
// maxHeight style attribute for the video panel
|
||||||
maxVideoHeight?: number;
|
maxVideoHeight?: number;
|
||||||
|
|
||||||
// a callback which is called when the content in the callview changes
|
|
||||||
// in a way that is likely to cause a resize.
|
|
||||||
onResize?: any;
|
|
||||||
|
|
||||||
resizeNotifier: ResizeNotifier,
|
resizeNotifier: ResizeNotifier,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -122,7 +118,6 @@ export default class CallViewForRoom extends React.Component<IProps, IState> {
|
||||||
<CallView
|
<CallView
|
||||||
call={this.state.call}
|
call={this.state.call}
|
||||||
pipMode={false}
|
pipMode={false}
|
||||||
onResize={this.props.onResize}
|
|
||||||
/>
|
/>
|
||||||
</Resizable>
|
</Resizable>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue