mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 17:56:25 +02:00
use type panel for floating non-focus-stealing window
This commit is contained in:
parent
985299b72d
commit
296b95ba5b
1 changed files with 1 additions and 1 deletions
|
|
@ -25,8 +25,8 @@ function createQuickAskWindow(x: number, y: number): BrowserWindow {
|
||||||
height: 550,
|
height: 550,
|
||||||
x,
|
x,
|
||||||
y,
|
y,
|
||||||
|
type: 'panel',
|
||||||
resizable: true,
|
resizable: true,
|
||||||
titleBarStyle: 'hiddenInset',
|
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
preload: path.join(__dirname, 'preload.js'),
|
preload: path.join(__dirname, 'preload.js'),
|
||||||
contextIsolation: true,
|
contextIsolation: true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue