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")..{
|
LoadFont("Common normal")..{
|
||||||
InitCommand=cmd(shadowlength,1);
|
InitCommand=cmd(shadowlength,1);
|
||||||
SetMessageCommand=function(self,param)
|
SetMessageCommand=function(self,param)
|
||||||
sString = THEME:GetString("StepsDisplay StepsType",ToEnumShortString(param.StepsType));
|
if param.StepsType then
|
||||||
if param.Steps and param.Steps:IsAutogen() then
|
sString = THEME:GetString("StepsDisplay StepsType",ToEnumShortString(param.StepsType));
|
||||||
self:diffusebottomedge(color("0.75,0.75,0.75,1"));
|
if param.Steps and param.Steps:IsAutogen() then
|
||||||
else
|
self:diffusebottomedge(color("0.75,0.75,0.75,1"));
|
||||||
self:diffuse(Color("White"));
|
else
|
||||||
|
self:diffuse(Color("White"));
|
||||||
|
end;
|
||||||
|
self:settext( sString );
|
||||||
end;
|
end;
|
||||||
self:settext( sString );
|
|
||||||
end;
|
end;
|
||||||
};
|
};
|
||||||
-- argh this isn't working as nicely as I would've hoped...
|
-- argh this isn't working as nicely as I would've hoped...
|
||||||
|
|||||||
Reference in New Issue
Block a user