attempt to silence a warning (let the post-public beta 2 commits begin!)
This commit is contained in:
@@ -3,13 +3,15 @@ local t = Def.ActorFrame{
|
||||
LoadFont("Common normal")..{
|
||||
InitCommand=cmd(shadowlength,1);
|
||||
SetMessageCommand=function(self,param)
|
||||
sString = THEME:GetString("StepsDisplay StepsType",ToEnumShortString(param.StepsType));
|
||||
if param.Steps and param.Steps:IsAutogen() then
|
||||
self:diffusebottomedge(color("0.75,0.75,0.75,1"));
|
||||
else
|
||||
self:diffuse(Color("White"));
|
||||
if param.StepsType then
|
||||
sString = THEME:GetString("StepsDisplay StepsType",ToEnumShortString(param.StepsType));
|
||||
if param.Steps and param.Steps:IsAutogen() then
|
||||
self:diffusebottomedge(color("0.75,0.75,0.75,1"));
|
||||
else
|
||||
self:diffuse(Color("White"));
|
||||
end;
|
||||
self:settext( sString );
|
||||
end;
|
||||
self:settext( sString );
|
||||
end;
|
||||
};
|
||||
-- argh this isn't working as nicely as I would've hoped...
|
||||
|
||||
Reference in New Issue
Block a user