Properly refresh the range status when paging the action bar.
This commit is contained in:
+1
-4
@@ -280,10 +280,7 @@ end
|
|||||||
local function updateFunc(self)
|
local function updateFunc(self)
|
||||||
local parent = self:GetParent()
|
local parent = self:GetParent()
|
||||||
if not self.BT4init or not parent.BT4BarType then return end
|
if not self.BT4init or not parent.BT4BarType then return end
|
||||||
if oorsetting == "none" or not ActionHasRange(self.action) then
|
self:UpdateRange()
|
||||||
self.rangeTimer = nil
|
|
||||||
self.outOfRange = nil
|
|
||||||
end
|
|
||||||
updateIcon(self)
|
updateIcon(self)
|
||||||
|
|
||||||
if self.SecureInit and not InCombatLockdown() then
|
if self.SecureInit and not InCombatLockdown() then
|
||||||
|
|||||||
Reference in New Issue
Block a user