mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-04 22:40:29 +03:00
move menu anchor
This commit is contained in:
parent
868e4a8a90
commit
6c6fd89911
1 changed files with 0 additions and 2 deletions
|
|
@ -430,8 +430,6 @@ function SpaceTab({
|
||||||
const dropState = useDropTarget(spaceDraggable, targetRef);
|
const dropState = useDropTarget(spaceDraggable, targetRef);
|
||||||
const dropType = dropState?.type;
|
const dropType = dropState?.type;
|
||||||
|
|
||||||
const [menuAnchor, setMenuAnchor] = useState<RectCords>();
|
|
||||||
|
|
||||||
const handleContextMenu: MouseEventHandler<HTMLButtonElement> = (evt) => {
|
const handleContextMenu: MouseEventHandler<HTMLButtonElement> = (evt) => {
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
const cords = evt.currentTarget.getBoundingClientRect();
|
const cords = evt.currentTarget.getBoundingClientRect();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue