Skip to content

Commit 480ec35

Browse files
authored
Merge pull request #75 from ZXXX1999/master
feat: 焦点列表增加隐藏焦点方法
2 parents 1ad3186 + e67b26e commit 480ec35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

MY_Focus/src/MY_Focus.lua

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

0 commit comments

Comments
 (0)