Skip to content
This repository
Browse code

Removed overridebar displayed check

  • Loading branch information...
commit ff4ef380a2ad3c4c9829cac3af12aaa20dd6c74e 1 parent f15815f
Jason Greer authored December 07, 2012

Showing 1 changed file with 1 addition and 5 deletions. Show diff stats Hide diff stats

  1. 6  actionBar.lua
6  actionBar.lua
@@ -226,10 +226,6 @@ function ActionBar:UpdateActions()
226 226
 end
227 227
 
228 228
 function ActionBar:LoadStateController()
229  
-	self.header:SetAttribute('_onstate-overridebar', [[
230  
-		self:RunAttribute('updateState')
231  
-	]])
232  
-
233 229
 	self.header:SetAttribute('_onstate-overridepage', [[
234 230
 		self:RunAttribute('updateState')
235 231
 	]])
@@ -240,7 +236,7 @@ function ActionBar:LoadStateController()
240 236
 
241 237
 	self.header:SetAttribute('updateState', [[
242 238
 		local state
243  
-		if self:GetAttribute('state-overridepage') > 10 and self:GetAttribute('state-overridebar') then
  239
+		if self:GetAttribute('state-overridepage') > 0 then
244 240
 			state = 'override'
245 241
 		else
246 242
 			state = self:GetAttribute('state-page')

0 notes on commit ff4ef38

Please sign in to comment.
Something went wrong with that request. Please try again.