cross-platform panel: toolbar fallback for Windows/Linux

This commit is contained in:
CREDO23 2026-03-25 18:26:28 +02:00
parent 743172785d
commit 2af4784e63

View file

@ -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,