Changed timing and life difficulty text to position value after label. Changed all AllowRepeatingInput metrics in _fallback to true.

This commit is contained in:
Kyzentun Keeslala
2015-06-14 08:55:42 -06:00
parent 829e861192
commit c78950aaeb
6 changed files with 29 additions and 21 deletions
@@ -1,17 +1,21 @@
local label_text= false
return Def.ActorFrame {
LoadFont("Common Normal") .. {
Text=GetLifeDifficulty();
AltText="";
InitCommand=cmd(horizalign,left;zoom,0.675);
OnCommand=cmd(shadowlength,1);
BeginCommand=function(self)
self:settextf( Screen.String("LifeDifficulty"), "" );
end
OnCommand= function(self)
label_text= self
self:shadowlength(1):settextf(Screen.String("LifeDifficulty"), "");
end,
};
LoadFont("Common Normal") .. {
Text=GetLifeDifficulty();
AltText="";
InitCommand=cmd(x,136;zoom,0.675;halign,0);
OnCommand=cmd(shadowlength,1;skewx,-0.125);
InitCommand=cmd(zoom,0.675;halign,0);
OnCommand= function(self)
self:shadowlength(1):skewx(-0.125):x(label_text:GetZoomedWidth()+8)
end,
};
};
};