Skip to content

Commit 35c3e5b

Browse files
authored
remove flash frame related
1 parent dc8d710 commit 35c3e5b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

main.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function alarmSet() {
162162
resetAlarm = setTimeout(function () {
163163
if (store.get('alarmtip') !== false && isAlarmDialogClosed && isAlarmTipOn) {
164164
if (win != null) {
165-
win.flashFrame(true);
165+
// win.flashFrame(true);
166166
win.show();
167167
app.focus();
168168
isAlarmDialogClosed = false;
@@ -1580,7 +1580,7 @@ function focusSolution() {
15801580
if (hasFloating) floatingDestroyer("property-stay");
15811581
win.show();
15821582
win.center();
1583-
win.flashFrame(true);
1583+
// win.flashFrame(true);
15841584
if (!isLoose) win.setAlwaysOnTop(true, "screen-saver");
15851585
win.moveTop();
15861586
if (dockHide) app.dock.show();//prevent kiosk error, show in dock
@@ -1623,7 +1623,7 @@ function nonFocusSolution(mode) {
16231623
} else {
16241624
win.show();
16251625
win.center();
1626-
win.flashFrame(true);
1626+
// win.flashFrame(true);
16271627
if (!isLoose) win.setAlwaysOnTop(true, "screen-saver");
16281628
win.moveTop();
16291629
}
@@ -1768,7 +1768,7 @@ ipcMain.on('warning-giver-all-task-end', function () {
17681768
isWorkMode = false;
17691769
win.show();
17701770
win.center();
1771-
win.flashFrame(true);
1771+
// win.flashFrame(true);
17721772
win.setAlwaysOnTop(true, "screen-saver");
17731773
win.moveTop();
17741774
win.setProgressBar(-1);
@@ -2479,4 +2479,4 @@ ipcMain.on("zoom-ratio-change", function (event, message) {
24792479
win.setSize(Math.floor(360 * ratio), Math.floor(459 * ratio), true);
24802480
settingsWin.setSize(Math.floor((isChinese ? 420 : 472) * ratio), Math.floor(636 * ratio), true);
24812481
win.webContents.send('zoom-ratio-feedback');
2482-
})
2482+
})

0 commit comments

Comments
 (0)