mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user