mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 17:56:25 +02:00
cross-platform panel: toolbar fallback for Windows/Linux
This commit is contained in:
parent
743172785d
commit
2af4784e63
1 changed files with 3 additions and 1 deletions
|
|
@ -35,7 +35,9 @@ function createQuickAskWindow(x: number, y: number): BrowserWindow {
|
|||
height: 550,
|
||||
x,
|
||||
y,
|
||||
type: 'panel',
|
||||
...(process.platform === 'darwin'
|
||||
? { type: 'panel' as const }
|
||||
: { type: 'toolbar' as const, alwaysOnTop: true }),
|
||||
resizable: true,
|
||||
fullscreenable: false,
|
||||
maximizable: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue