comparison ClassPlan.lua @ 107:b2be2de2b133

live branch cleanup
author Nenue
date Sun, 28 May 2017 20:16:05 -0400
parents 1197c8825eda
children a4dfdd4f1cf3
comparison
equal deleted inserted replaced
106:1197c8825eda 107:b2be2de2b133
115 end) 115 end)
116 self.FadeIn:SetScript('OnPlay', function() 116 self.FadeIn:SetScript('OnPlay', function()
117 print('FadeIn.OnPlay()') 117 print('FadeIn.OnPlay()')
118 self.isAnimating = true 118 self.isAnimating = true
119 self.data.IsShown = true 119 self.data.IsShown = true
120 self:SetShown(true)
121 end) 120 end)
122 self.FadeIn:SetScript('OnStop', OnStopped) 121 self.FadeIn:SetScript('OnStop', OnStopped)
123 122
124 --hooksecurefunc(C_Garrison, 'RequestLandingPageShipmentInfo', function() 123 --hooksecurefunc(C_Garrison, 'RequestLandingPageShipmentInfo', function()
125 -- WorldPlan:print("Requesting shipments data.") 124 -- WorldPlan:print("Requesting shipments data.")
319 self.data.IsShown = false 318 self.data.IsShown = false
320 self.FadeOut:Play() 319 self.FadeOut:Play()
321 else 320 else
322 print('fade in') 321 print('fade in')
323 self.data.IsShown = true 322 self.data.IsShown = true
323 self:SetShown(true)
324 self.FadeIn:Play() 324 self.FadeIn:Play()
325 end 325 end
326 end 326 end
327 327
328 328