Mercurial > wow > buffalo2
comparison ObjectiveTracker/ObjectiveTracker.xml @ 41:7a65ed86e4dd r42-release
- prevent animation Play from firing more than once before block:Hide is called
author | Nenue |
---|---|
date | Sun, 24 Apr 2016 14:28:49 -0400 |
parents | 03ed70f846de |
children | 9480bd904f4c |
comparison
equal
deleted
inserted
replaced
40:03ed70f846de | 41:7a65ed86e4dd |
---|---|
369 if(self.DebugTab:IsShown()) then | 369 if(self.DebugTab:IsShown()) then |
370 self.DebugTab:Show() | 370 self.DebugTab:Show() |
371 end | 371 end |
372 self.blockFadeOut:Stop() | 372 self.blockFadeOut:Stop() |
373 </OnShow> | 373 </OnShow> |
374 <OnHide> | |
375 Veneer.print('Frame')(self:GetName(), '|cFF00FF00HIDE|r', debugstack(1,3,1)) | |
376 if(self.DebugTab:IsShown()) then | |
377 self.DebugTab:Hide() | |
378 end | |
379 -- make sure neither of these execute their onFinished upon re-show | |
380 self.blockFadeOut:Stop() | |
381 self.questFadeIn:Stop() | |
382 </OnHide> | |
383 </Scripts> | 374 </Scripts> |
384 <Animations> | 375 <Animations> |
385 <AnimationGroup name="$parent_BlockSlide" parentKey="blockShift" ignoreFramerateThrottle="true"> | 376 <AnimationGroup name="$parent_BlockSlide" parentKey="blockShift" ignoreFramerateThrottle="true"> |
386 <Translation parentKey="translation" offsetX="0" offsetY="0" smoothing="OUT" order="1" duration=".25" /> | 377 <Translation parentKey="translation" offsetX="0" offsetY="0" smoothing="OUT" order="1" duration=".25" /> |
387 </AnimationGroup> | 378 </AnimationGroup> |
388 <AnimationGroup name="$parent_BlockFadeIn" setToFinalAlpha="true" parentKey="questFadeIn" ignoreFramerateThrottle="true"> | 379 <AnimationGroup name="$parent_BlockFadeIn" setToFinalAlpha="true" parentKey="questFadeIn" ignoreFramerateThrottle="true"> |
389 <Alpha duration="0.25" order="1" fromAlpha="0" toAlpha="1"/> | |
390 <Scale duration="0.25" order="1" fromScaleX="0.1" fromScaleY="0.1" toScaleX="1" toScaleY="1"> | |
391 <Origin point="CENTER"> | |
392 <Offset x="-50" y="0"/> | |
393 </Origin> | |
394 </Scale> | |
395 <Translation childKey="LineGlow" duration="0.75" order="1" offsetX="65" offsetY="0"/> | |
396 <Alpha childKey="SoftGlow" duration="0.25" order="1" fromAlpha="0" toAlpha="1"/> | |
397 <Alpha childKey="SoftGlow" startDelay="0.25" duration="0.5" order="1" fromAlpha="1" toAlpha="0"/> | |
398 <Scale childKey="SoftGlow" duration="0.25" order="1" fromScaleX="0.5" fromScaleY="0.5" toScaleX="0.8" toScaleY="0.8"/> | |
399 <Alpha childKey="StarBurst" duration="0.25" order="1" fromAlpha="0" toAlpha="1"/> | |
400 <Alpha childKey="StarBurst" startDelay="0.25" duration="0.5" order="1" fromAlpha="1" toAlpha="0"/> | |
401 <Scale childKey="StarBurst" duration="0.25" order="1" fromScaleX="0.5" fromScaleY="0.5" toScaleX="1" toScaleY="1"/> | |
402 <Alpha childKey="LineSheen" startDelay="0.15" duration="0.5" order="1" fromAlpha="0" toAlpha="0.75"/> | |
403 <Alpha childKey="LineSheen" startDelay="0.75" duration="0.5" order="1" fromAlpha="0.75" toAlpha="0"/> | |
404 <Translation childKey="LineSheen" startDelay="0.15" duration="1.5" order="1" offsetX="280" offsetY="0"/> | |
405 </AnimationGroup> | 380 </AnimationGroup> |
406 <AnimationGroup name="$parent_BlockFade" parentKey="blockFadeOut" ignoreFramerateThrottle="true" looping="NONE"> | 381 <AnimationGroup name="$parent_BlockFade" parentKey="blockFadeOut" ignoreFramerateThrottle="true" looping="NONE"> |
407 <Alpha duration="0.25" order="1" fromAlpha="1" toAlpha="0" /> | 382 <Alpha duration="0.25" order="1" fromAlpha="1" toAlpha="0" /> |
408 <Translation duration="0.25" order="1" offsetX="260" offsetY="0" smoothing="OUT" /> | 383 <Translation duration="0.25" order="1" offsetX="260" offsetY="0" smoothing="OUT" /> |
384 <Scale order="1" duration="0.25" fromScaleX="1" fromScaleY="1" toScaleX="0.1" toScaleY="0.1"> | |
385 <Origin point="TOP"> | |
386 <Offset x="0" y="0" /> | |
387 </Origin> | |
388 </Scale> | |
409 </AnimationGroup> | 389 </AnimationGroup> |
410 </Animations> | 390 </Animations> |
411 <Layers> | 391 <Layers> |
412 <Layer level="BACKGROUND"> | 392 <Layer level="BACKGROUND"> |
413 <Texture name="$parentTitleBackground" parentKey="titlebg"> | 393 <Texture name="$parentTitleBackground" parentKey="titlebg"> |
444 <MinColor r="1" g="0" b="0" a="0.7" /> | 424 <MinColor r="1" g="0" b="0" a="0.7" /> |
445 </Gradient> | 425 </Gradient> |
446 </Texture> | 426 </Texture> |
447 </Layer> | 427 </Layer> |
448 <Layer level="ARTWORK"> | 428 <Layer level="ARTWORK"> |
449 <Texture parentKey="StarBurst" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_StarBurst" useAtlasSize="true"> | 429 |
450 <Anchors> | |
451 <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg"/> | |
452 </Anchors> | |
453 </Texture> | |
454 <Texture parentKey="LineSheen" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineBurst"> | |
455 <Size x="60" y="15"/> | |
456 <Anchors> | |
457 <Anchor point="LEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg" x="0" y="0"/> | |
458 </Anchors> | |
459 </Texture> | |
460 <Texture parentKey="LineGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineGlow" useAtlasSize="true"> | |
461 <Anchors> | |
462 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg" x="-50" y="18"/> | |
463 </Anchors> | |
464 </Texture> | |
465 <Texture parentKey="SoftGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_Glow" useAtlasSize="true"> | |
466 <Anchors> | |
467 <Anchor point="CENTER" relativeKey="$parent.titlebg" relativePoint="BOTTOMLEFT" x="20" y="20"/> | |
468 </Anchors> | |
469 </Texture> | |
470 | 430 |
471 <Texture parentKey="typeTag" file="Interface\QuestFrame\QuestTypeIcons" alphaMode="ADD" hidden="true"> | 431 <Texture parentKey="typeTag" file="Interface\QuestFrame\QuestTypeIcons" alphaMode="ADD" hidden="true"> |
472 <Size x="18" y="18"/> | 432 <Size x="18" y="18"/> |
473 <Anchors> | 433 <Anchors> |
474 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.FrequencyTag" x="-3" y="-3"/> | 434 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.FrequencyTag" x="-3" y="-3"/> |