Make double-clicking the PiP take you to the call room (#7142)
This commit is contained in:
parent
a65637c1ed
commit
816136de97
4 changed files with 17 additions and 17 deletions
|
@ -42,6 +42,7 @@ interface IProps {
|
|||
className?: string;
|
||||
children: ({ onStartMoving, onResize }: IChildrenOptions) => React.ReactNode;
|
||||
draggable: boolean;
|
||||
onDoubleClick?: () => void;
|
||||
}
|
||||
|
||||
interface IState {
|
||||
|
@ -216,6 +217,7 @@ export default class PictureInPictureDragger extends React.Component<IProps, ISt
|
|||
className={this.props.className}
|
||||
style={this.props.draggable ? style : undefined}
|
||||
ref={this.callViewWrapper}
|
||||
onDoubleClick={this.props.onDoubleClick}
|
||||
>
|
||||
<>
|
||||
{ this.props.children({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue