mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00:00
Don't use onResize
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user