This commit is contained in:
parent
ef07e20355
commit
dbcd62198a
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ import {hasClosestByClassName, hasTopClosestByTag} from "../protyle/util/hasClos
|
|||
import {App} from "../index";
|
||||
import {Constants} from "../constants";
|
||||
import {textMenu} from "./text";
|
||||
import {hideTooltip} from "../dialog/tooltip";
|
||||
|
||||
export class Menus {
|
||||
public menu: Menu;
|
||||
|
@ -86,6 +87,7 @@ export class Menus {
|
|||
event.stopPropagation();
|
||||
break;
|
||||
} else if (dataType && target.classList.contains("dock__item")) {
|
||||
hideTooltip();
|
||||
initDockMenu(target).popup({x: event.clientX, y: event.clientY});
|
||||
event.stopPropagation();
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue