mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-19 14:25:13 +03:00
[Electron] MacOs and MessageBox fix
MacOS: - Nice icon for DMG - Fix bug when Configurator was minimized and dock icon is clicked Fix (Workaround): After a MessageBox (alert()) was displayed, all input fields stopped working.
This commit is contained in:
parent
a4fd2bce9d
commit
2efebecb61
5 changed files with 36 additions and 22 deletions
|
@ -53,6 +53,10 @@ function createDeviceChooser() {
|
|||
}
|
||||
|
||||
app.on('ready', () => {
|
||||
createWindow();
|
||||
});
|
||||
|
||||
function createWindow() {
|
||||
|
||||
let mainWindowState = windowStateKeeper({
|
||||
defaultWidth: 800,
|
||||
|
@ -147,7 +151,7 @@ app.on('ready', () => {
|
|||
if (process.env.NODE_ENV === 'development') {
|
||||
mainWindow.webContents.openDevTools();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
app.on('window-all-closed', () => {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue