mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-03-09 08:20:32 -07:00
Update index.ts
This commit is contained in:
parent
9ab6da9039
commit
acb5b33b75
1 changed files with 2 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ export class Window implements IWindowService {
|
|||
y: mainWindowState.y,
|
||||
width: mainWindowState.width,
|
||||
height: mainWindowState.height,
|
||||
alwaysOnTop: this.preferenceService.get('alwaysOnTop'),
|
||||
alwaysOnTop: await this.preferenceService.get('alwaysOnTop'),
|
||||
};
|
||||
}
|
||||
const windowConfig: BrowserWindowConstructorOptions = {
|
||||
|
|
@ -501,6 +501,7 @@ export class Window implements IWindowService {
|
|||
preloadWindow: true,
|
||||
tooltip: i18n.t('Menu.TiddlyGit'),
|
||||
browserWindow: mergeDeep(windowConfig, {
|
||||
show: false,
|
||||
x: menubarWindowState.x,
|
||||
y: menubarWindowState.y,
|
||||
width: menubarWindowState.width,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue