Disable the range updating for buttons without a range.
This commit is contained in:
parent
be945add01
commit
e8f070836e
1 changed files with 5 additions and 0 deletions
|
|
@ -273,6 +273,11 @@ local function updateFunc(self)
|
|||
control:RunFor(frame, frame:GetAttribute("UpdateAutoAssist"))
|
||||
]])
|
||||
end
|
||||
|
||||
if not ActionHasRange(self.action) then
|
||||
self.rangeTimer = nil
|
||||
self.outOfRange = nil
|
||||
end
|
||||
end
|
||||
|
||||
hooksecurefunc("ActionButton_Update", updateFunc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue