Further optimizations to the range check.

This commit is contained in:
Hendrik Leppkes
2009-05-21 12:51:34 +02:00
parent 043098225a
commit bc39082795
2 changed files with 36 additions and 20 deletions
+2 -1
View File
@@ -25,6 +25,7 @@ function ActionBar:ApplyConfig(config)
if not self.config.position.x then initialPosition(self) end
Bartender4.Button:UpdateRangeValues()
self:UpdateButtons()
end
@@ -49,7 +50,7 @@ function ActionBar:UpdateButtons(numbuttons)
buttons[i]:SetParent(self)
buttons[i]:Show()
buttons[i]:SetAttribute("statehidden", nil)
buttons[i]:UpdateAction(true)
buttons[i]:Update()
end
-- hide inactive buttons