Properly refresh the range status when paging the action bar.

This commit is contained in:
Hendrik Leppkes
2009-05-23 13:45:47 +02:00
parent f96760380f
commit 83b1ab3c13
+1 -4
View File
@@ -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