Skip to content

Commit e67b26e

Browse files
ZXXX1999tinymins
authored andcommitted
fix: 按提示优化代码
1 parent a0c4239 commit e67b26e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MY_Focus/src/MY_Focus.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ function D.GetDisplayList()
883883
end
884884
if bRuleFocus then
885885
--2025.8.16增加隐藏焦点方法,上述规则满足后,判断最大距离是否为-1,若为-1不显示焦点并跳出规则遍历
886-
if via.tRule.nMaxDistance == -1 then bFocus = false else bFocus = true end
886+
bFocus = via.tRule.nMaxDistance ~= -1
887887
tRule = via.tRule
888888
szVia = via.szVia
889889
bDeletable = via.bDeletable

0 commit comments

Comments
 (0)