Merge branch 'develop' into develop

This commit is contained in:
Seongnoh Sean Yi 2021-08-31 10:50:05 +02:00 committed by GitHub
commit 17637fb1f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 697 additions and 652 deletions

View file

@ -72,6 +72,11 @@ function createWindow() {
mainWindow.webContents.openDevTools();
}
// simulate mouse move to hide black cursor on start
mainWindow.webContents.on("dom-ready", (event) => {
mainWindow.webContents.sendInputEvent({ type: "mouseMove", x: 0, y: 0 });
});
// Set responders for window events.
mainWindow.on("closed", function () {
mainWindow = null;