This commit is contained in:
parent
84a52019f8
commit
4c17532266
1 changed files with 6 additions and 3 deletions
|
@ -451,9 +451,12 @@ export class Dock {
|
|||
}
|
||||
|
||||
public hideDock(reset = false) {
|
||||
if (!reset && (this.layout.element.style.opacity === "0" || this.pin) ||
|
||||
this.layout.element.querySelector(".fullscreen") // 关系图全屏不应该退出
|
||||
) {
|
||||
if (!reset && (this.layout.element.style.opacity === "0" || this.pin)) {
|
||||
return;
|
||||
}
|
||||
// 关系图全屏不应该退出 & https://github.com/siyuan-note/siyuan/issues/11775
|
||||
const fullscreenElement = this.layout.element.querySelector(".fullscreen")
|
||||
if (fullscreenElement && fullscreenElement.clientHeight > 0) {
|
||||
return;
|
||||
}
|
||||
// https://github.com/siyuan-note/siyuan/issues/7504
|
||||
|
|
Loading…
Add table
Reference in a new issue