Skip to content

Commit

Permalink
remove flash frame related
Browse files Browse the repository at this point in the history
  • Loading branch information
RoderickQiu authored Dec 17, 2024
1 parent dc8d710 commit 35c3e5b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function alarmSet() {
resetAlarm = setTimeout(function () {
if (store.get('alarmtip') !== false && isAlarmDialogClosed && isAlarmTipOn) {
if (win != null) {
win.flashFrame(true);
// win.flashFrame(true);
win.show();
app.focus();
isAlarmDialogClosed = false;
Expand Down Expand Up @@ -1580,7 +1580,7 @@ function focusSolution() {
if (hasFloating) floatingDestroyer("property-stay");
win.show();
win.center();
win.flashFrame(true);
// win.flashFrame(true);
if (!isLoose) win.setAlwaysOnTop(true, "screen-saver");
win.moveTop();
if (dockHide) app.dock.show();//prevent kiosk error, show in dock
Expand Down Expand Up @@ -1623,7 +1623,7 @@ function nonFocusSolution(mode) {
} else {
win.show();
win.center();
win.flashFrame(true);
// win.flashFrame(true);
if (!isLoose) win.setAlwaysOnTop(true, "screen-saver");
win.moveTop();
}
Expand Down Expand Up @@ -1768,7 +1768,7 @@ ipcMain.on('warning-giver-all-task-end', function () {
isWorkMode = false;
win.show();
win.center();
win.flashFrame(true);
// win.flashFrame(true);
win.setAlwaysOnTop(true, "screen-saver");
win.moveTop();
win.setProgressBar(-1);
Expand Down Expand Up @@ -2479,4 +2479,4 @@ ipcMain.on("zoom-ratio-change", function (event, message) {
win.setSize(Math.floor(360 * ratio), Math.floor(459 * ratio), true);
settingsWin.setSize(Math.floor((isChinese ? 420 : 472) * ratio), Math.floor(636 * ratio), true);
win.webContents.send('zoom-ratio-feedback');
})
})

0 comments on commit 35c3e5b

Please sign in to comment.