mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 15:21:31 +03:00
Don't use onResize
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
2e535d2a99
commit
d244ea3b14
2 changed files with 0 additions and 6 deletions
|
@ -167,7 +167,6 @@ export default class AuxPanel extends React.Component<IProps, IState> {
|
|||
const callView = (
|
||||
<CallViewForRoom
|
||||
roomId={this.props.room.roomId}
|
||||
onResize={this.props.onResize}
|
||||
maxVideoHeight={this.props.maxHeight}
|
||||
resizeNotifier={this.props.resizeNotifier}
|
||||
/>
|
||||
|
|
|
@ -29,10 +29,6 @@ interface IProps {
|
|||
// maxHeight style attribute for the video panel
|
||||
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,
|
||||
}
|
||||
|
||||
|
@ -122,7 +118,6 @@ export default class CallViewForRoom extends React.Component<IProps, IState> {
|
|||
<CallView
|
||||
call={this.state.call}
|
||||
pipMode={false}
|
||||
onResize={this.props.onResize}
|
||||
/>
|
||||
</Resizable>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue