Fix: #225098 首次开启火绒安全,出现的安全提示弹窗在拖动时消失

This commit is contained in:
wang teng 2024-07-02 16:16:37 +08:00
parent 808e4a7a9d
commit 0a4982d88a
1 changed files with 10 additions and 0 deletions

View File

@ -20,6 +20,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
"use strict";
const blacklist = [
"hipstray hipstray", //火绒安全-安全提示
];
var scaleTooltipEffect = {
loadConfig: function (window) {
scaleTooltipEffect.inDuration = effect.readConfig("inDuration", 200) || 200;
@ -42,6 +46,9 @@ var scaleTooltipEffect = {
if (!(window.tooltip && window.visible)) {
return;
}
if (blacklist.indexOf(window.windowClass) != -1) {
return;
}
if (effects.hasActiveFullScreenEffect) {
return;
}
@ -70,6 +77,9 @@ var scaleTooltipEffect = {
if (!(window.tooltip && window.visible)) {
return;
}
if (blacklist.indexOf(window.windowClass) != -1) {
return;
}
if (effects.hasActiveFullScreenEffect) {
return;
}