Fix the picture-in-picture component being off screen (#9246)
This commit is contained in:
parent
6d03cb35b7
commit
4524291331
4 changed files with 10 additions and 10 deletions
|
@ -319,9 +319,9 @@ export default class PipView extends React.Component<IProps, IState> {
|
|||
|
||||
if (this.state.showWidgetInPip) {
|
||||
const pipViewClasses = classNames({
|
||||
mx_CallView: true,
|
||||
mx_CallView_pip: pipMode,
|
||||
mx_CallView_large: !pipMode,
|
||||
mx_LegacyCallView: true,
|
||||
mx_LegacyCallView_pip: pipMode,
|
||||
mx_LegacyCallView_large: !pipMode,
|
||||
});
|
||||
const roomId = this.state.persistentRoomId;
|
||||
const roomForWidget = MatrixClientPeg.get().getRoom(roomId);
|
||||
|
@ -348,7 +348,7 @@ export default class PipView extends React.Component<IProps, IState> {
|
|||
|
||||
if (!!pipContent) {
|
||||
return <PictureInPictureDragger
|
||||
className="mx_CallPreview"
|
||||
className="mx_LegacyCallPreview"
|
||||
draggable={pipMode}
|
||||
onDoubleClick={this.onDoubleClick}
|
||||
onMove={this.onMove}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue