mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-08 15:59:16 +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,
|
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
@@ -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();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user