This commit is contained in:
parent
fea957731b
commit
98350e7768
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ export const globalShortcut = () => {
|
|||
});
|
||||
window.siyuan.hideBreadcrumb = false;
|
||||
}
|
||||
if (!isWindow() && !hasClosestByClassName(event.target, "b3-dialog") && !hasClosestByClassName(event.target, "b3-menu")) {
|
||||
if (event.buttons === 0 && // 鼠标按键被按下时不触发
|
||||
!isWindow() && !hasClosestByClassName(event.target, "b3-dialog") && !hasClosestByClassName(event.target, "b3-menu")) {
|
||||
if (event.clientX < 43) {
|
||||
if (!window.siyuan.layout.leftDock.pin && window.siyuan.layout.leftDock.layout.element.clientWidth > 0 &&
|
||||
// 隐藏停靠栏会导致点击两侧内容触发浮动面板弹出,因此需减小鼠标范围
|
||||
|
|
Loading…
Add table
Reference in a new issue