mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
New window from taskbar
This commit is contained in:
parent
e5213640d7
commit
553a2f9929
@ -68,7 +68,7 @@ async function createMainWindow(app: App) {
|
|||||||
const spellcheckEnabled = optionService.getOptionBool('spellCheckEnabled');
|
const spellcheckEnabled = optionService.getOptionBool('spellCheckEnabled');
|
||||||
|
|
||||||
const { BrowserWindow } = (await import('electron')); // should not be statically imported
|
const { BrowserWindow } = (await import('electron')); // should not be statically imported
|
||||||
|
|
||||||
mainWindow = new BrowserWindow({
|
mainWindow = new BrowserWindow({
|
||||||
x: mainWindowState.x,
|
x: mainWindowState.x,
|
||||||
y: mainWindowState.y,
|
y: mainWindowState.y,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user