Fix dialpad positioning (#7446)
This commit is contained in:
parent
5096455f64
commit
38ba198fea
1 changed files with 1 additions and 2 deletions
|
@ -26,7 +26,6 @@ import DialpadContextMenu from "../../context_menus/DialpadContextMenu";
|
|||
import { Alignment } from "../../elements/Tooltip";
|
||||
import {
|
||||
alwaysAboveLeftOf,
|
||||
alwaysAboveRightOf,
|
||||
ChevronFace,
|
||||
ContextMenuTooltipButton,
|
||||
} from '../../../structures/ContextMenu';
|
||||
|
@ -175,7 +174,7 @@ export default class CallViewButtons extends React.Component<IProps, IState> {
|
|||
let dialPad;
|
||||
if (this.state.showDialpad) {
|
||||
dialPad = <DialpadContextMenu
|
||||
{...alwaysAboveRightOf(
|
||||
{...alwaysAboveLeftOf(
|
||||
this.dialpadButton.current.getBoundingClientRect(),
|
||||
ChevronFace.None,
|
||||
CONTEXT_MENU_VPADDING,
|
||||
|
|
Loading…
Reference in a new issue