fixes: muly

- strange behaviour with overflow (clip not valid)
- wrong message in quit button
- add icon to splash screen
- tray.remove() > tray.destroy()
This commit is contained in:
cv
2021-06-08 13:24:56 +02:00
parent 560ae5be74
commit 4b4e3fa52b
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -7,6 +7,7 @@ body,
html, html,
.App { .App {
margin: 0px auto; margin: 0px auto;
overflow: hidden;
overflow: clip; overflow: clip;
height: 100vh; height: 100vh;
} }
@@ -57,7 +57,7 @@ export default function QuitIconBtn(props) {
Cancel Cancel
</Button> </Button>
<Button colorScheme='red' onClick={handleShutdown} ml={3}> <Button colorScheme='red' onClick={handleShutdown} ml={3}>
Delete Shutdown
</Button> </Button>
</AlertDialogFooter> </AlertDialogFooter>
</AlertDialogContent> </AlertDialogContent>
+2 -1
View File
@@ -77,6 +77,7 @@ function createWindow() {
width: 333, width: 333,
height: 333, height: 333,
transparent: true, transparent: true,
icon: appIcon,
resizable: false, resizable: false,
frame: false, frame: false,
alwaysOnTop: true, alwaysOnTop: true,
@@ -223,7 +224,7 @@ ipcMain.on('shutdown', (event, arg) => {
await shutdown(); await shutdown();
})(); })();
tray.remove(); tray.destroy();
win.destroy(); win.destroy();
app.quit(); app.quit();
}); });