mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-05 23:43:57 +00:00
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:
@@ -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
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user