From 49f848a4534324ebe96b9bb444074c20160a3867 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Wed, 26 Jun 2024 16:35:29 +0800 Subject: [PATCH] refactor --- src/ui/index.tis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/index.tis b/src/ui/index.tis index 8954ad8d8..d76cae583 100644 --- a/src/ui/index.tis +++ b/src/ui/index.tis @@ -1208,7 +1208,7 @@ function self.onMouse(evt) { } function check_if_overlay() { - if (!handler.get_option('allow-remote-config-modification') == 'Y') { + if (handler.get_option('allow-remote-config-modification') != 'Y') { var time0 = getTime(); handler.check_mouse_time(); self.timer(120ms, function() {