mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08: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
	 SiriusXT
						SiriusXT