💚
This commit is contained in:
parent
9f75163c2e
commit
305f8b7a23
1 changed files with 5 additions and 1 deletions
|
@ -28,8 +28,10 @@ import {pdfResize} from "../asset/renderAssets";
|
|||
import {Backlink} from "./dock/Backlink";
|
||||
import {openFileById} from "../editor/util";
|
||||
import {getSearch, isWindow, isSiyuanUrl, isWebSiyuanUrl, getIdFromSiyuanUrl, getIdFromWebSiyuanUrl} from "../util/functions";
|
||||
import {showMessage} from "../dialog/message";
|
||||
/// #if !BROWSER
|
||||
import {setTabPosition} from "../window/setHeader";
|
||||
/// #endif
|
||||
import {showMessage} from "../dialog/message";
|
||||
|
||||
export const setPanelFocus = (element: Element) => {
|
||||
if (element.classList.contains("layout__tab--active") || element.classList.contains("layout__wnd--active")) {
|
||||
|
@ -125,7 +127,9 @@ export const switchWnd = (newWnd: Wnd, targetWnd: Wnd) => {
|
|||
return true;
|
||||
}
|
||||
});
|
||||
/// #if !BROWSER
|
||||
setTabPosition();
|
||||
/// #endif
|
||||
};
|
||||
|
||||
export const getWndByLayout: (layout: Layout) => Wnd = (layout: Layout) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue