This commit is contained in:
parent
15695769d0
commit
9de5fd17ed
1 changed files with 5 additions and 1 deletions
|
@ -76,7 +76,11 @@ export const fullscreen = (element: Element, btnElement?: Element) => {
|
|||
}
|
||||
/// #if !MOBILE
|
||||
if (element.classList.contains("protyle")) {
|
||||
hideAllElements(["gutter"]);
|
||||
// 等待页面动画结束
|
||||
setTimeout(() => {
|
||||
hideAllElements(["gutter"]);
|
||||
}, Constants.TIMEOUT_TRANSITION);
|
||||
|
||||
window.siyuan.editorIsFullscreen = !isFullscreen;
|
||||
}
|
||||
getAllModels().editor.forEach(item => {
|
||||
|
|
Loading…
Add table
Reference in a new issue