Added stoptweening to ExplanationTogether OnCommands because it was possible to trigger a tween overflow by holding escape in edit mode.

This commit is contained in:
Kyzentun
2015-03-02 20:51:47 -07:00
parent 9381276fd3
commit 519ad8d243
3 changed files with 5 additions and 5 deletions
@@ -37,7 +37,7 @@ t[#t+1] = LoadFont("Common Bold") .. {
t[#t+1] = Def.Quad {
Name="Underline";
InitCommand=cmd(x,-SCREEN_CENTER_X+24-4;y,36;horizalign,left);
OnCommand=cmd(diffuse,color("#ffd400");shadowlength,2;shadowcolor,BoostColor(color("#ffd40077"),0.25);linear,0.25;zoomtowidth,192;fadeleft,8/192;faderight,0.5;
OnCommand=cmd(stoptweening;diffuse,color("#ffd400");shadowlength,2;shadowcolor,BoostColor(color("#ffd40077"),0.25);linear,0.25;zoomtowidth,192;fadeleft,8/192;faderight,0.5;
visible,string.len( Screen.String("HeaderText") ) > 0 );
};