Mercurial > wow > buffalo2
diff Templates.lua @ 93:caded2668701
Curseforge migration and source tree cleaning
author | Nenue |
---|---|
date | Sun, 01 Jan 2017 18:25:26 -0500 |
parents | 6e2cb847c3c6 |
children | dadddb8a551f |
line wrap: on
line diff
--- a/Templates.lua Tue Oct 25 12:33:20 2016 -0400 +++ b/Templates.lua Sun Jan 01 18:25:26 2017 -0500 @@ -19,7 +19,6 @@ end end - function VeneerConfigLayerMixin:OnUpdate() local handler = self:GetParent() handler.ConfigLayers = handler.ConfigLayers or {} @@ -28,20 +27,6 @@ self.ConfigID:SetText(handler:GetID()) end - -function VeneerHandlerMixin:OnShow() - self:Reanchor() - Veneer:StaticReanchor(self) -end -function VeneerHandlerMixin:OnHide() - Veneer:DynamicReanchor() -end -function VeneerHandlerMixin:Reanchor (anchorAll) - if not anchorAll then - Veneer:InternalReanchor(self) - end -end - function VeneerAnimationMixin:OnPlay() PlaySoundKitID(229) self.animating = true @@ -56,4 +41,17 @@ PlaySoundKitID(229) self.animating = nil print('|cFF00FF00Anim:OnFinish|r @', unpack(self.destPoint)) +end + +function VeneerHandlerMixin:OnShow() + self:Reanchor() + Veneer:StaticReanchor(self) +end +function VeneerHandlerMixin:OnHide() + Veneer:DynamicReanchor() +end +function VeneerHandlerMixin:Reanchor (anchorAll) + if not anchorAll then + Veneer:InternalReanchor(self) + end end \ No newline at end of file