fix: settings window z-order on Hyprland and Linux app detach (#85)

This commit is contained in:
2026-05-25 13:21:38 -07:00
committed by GitHub
parent f7abcedd75
commit 097b619d71
18 changed files with 274 additions and 27 deletions
+3 -1
View File
@@ -2,6 +2,7 @@ interface SetupWindowConfig {
width: number;
height: number;
title: string;
show?: boolean;
resizable?: boolean;
minimizable?: boolean;
maximizable?: boolean;
@@ -19,7 +20,7 @@ function createSetupWindowHandler<TWindow>(
width: config.width,
height: config.height,
title: config.title,
show: true,
show: config.show ?? true,
autoHideMenuBar: true,
...(config.resizable === undefined ? {} : { resizable: config.resizable }),
...(config.minimizable === undefined ? {} : { minimizable: config.minimizable }),
@@ -77,6 +78,7 @@ export function createCreateConfigSettingsWindowHandler<TWindow>(deps: {
width: 1040,
height: 760,
title: 'SubMiner Settings',
show: false,
resizable: true,
preloadPath: deps.preloadPath,
backgroundColor: '#24273a',