Changed timing and life difficulty text to position value after label. Changed all AllowRepeatingInput metrics in _fallback to true.
This commit is contained in:
@@ -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,
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user