diff Modules/WorldState.xml @ 93:caded2668701

Curseforge migration and source tree cleaning
author Nenue
date Sun, 01 Jan 2017 18:25:26 -0500
parents 6e2cb847c3c6
children bb38bc0e787f
line wrap: on
line diff
--- a/Modules/WorldState.xml	Tue Oct 25 12:33:20 2016 -0400
+++ b/Modules/WorldState.xml	Sun Jan 01 18:25:26 2017 -0500
@@ -3,12 +3,13 @@
 
   <Script file="WorldState.lua" />
 
-  <Frame name="VeneerWorldState" mixin="VeneerWorldStateMixin" parent="UIParent" inherits="VeneerMixinScripts, VeneerAnimations">
+  <Frame name="VeneerWorldState" mixin="VeneerWorldStateMixin" parent="UIParent" inherits="VeneerMixinScripts">
     <Anchors>
       <Anchor point="TOP" />
     </Anchors>
     <Size x="600" y="24" />
     <Frames>
+
       <Frame name="$parentProgress" mixin="VeneerWorldStateProgressMixin" inherits="VeneerMixinScripts" enableMouse="true">
         <Anchors>
           <Anchor point="TOPLEFT" />
@@ -22,7 +23,7 @@
                 self:GetParent().faded = true
               </OnPlay>
               <OnStop>
-                --print('VnWorldState', '|cFF44FF00stopped fadeout')
+                print('VnWorldState', '|cFF44FF00stopped fadeout')
                 self:GetParent():Update()
               </OnStop>
               <OnFinished>
@@ -53,6 +54,13 @@
           <AnimationGroup parentKey="TimedFadeOut" setToFinalAlpha="true">
             <Alpha childKey="ProgressText" fromAlpha="1" toAlpha="0" duration="1.12" order="1" />
             <Alpha childKey="Background" fromAlpha="1" toAlpha="0" duration="1.12" order="1" />
+            <Scripts>
+
+              <OnFinished>
+                --print('VnWorldState', '|cFFFFFF00end of fadeout')
+                self:GetParent():Hide()
+              </OnFinished>
+            </Scripts>
           </AnimationGroup>
 
           <AnimationGroup parentKey="ProgressFlash" setToFinalAlpha="true">