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,
.App {
margin: 0px auto;
overflow: hidden;
overflow: clip;
height: 100vh;
}
@@ -57,7 +57,7 @@ export default function QuitIconBtn(props) {
Cancel
</Button>
<Button colorScheme='red' onClick={handleShutdown} ml={3}>
Delete
Shutdown
</Button>
</AlertDialogFooter>
</AlertDialogContent>
+2 -1
View File
@@ -77,6 +77,7 @@ function createWindow() {
width: 333,
height: 333,
transparent: true,
icon: appIcon,
resizable: false,
frame: false,
alwaysOnTop: true,
@@ -223,7 +224,7 @@ ipcMain.on('shutdown', (event, arg) => {
await shutdown();
})();
tray.remove();
tray.destroy();
win.destroy();
app.quit();
});