Location scanner should respect constant keys

This commit is contained in:
Gnome Ann 2022-01-01 13:01:54 -05:00
parent b61822131d
commit ed3979ed2a
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ function userscript.inmod()
key = e.key,
keysecondary = e.keysecondary,
}
e.constant = not repeated and e:compute_context("") ~= e:compute_context(location)
e.constant = e.constant or (not repeated and e:compute_context("") ~= e:compute_context(location))
e.key = ""
e.keysecondary = ""
end