CustomDifficulty fixup

This commit is contained in:
Chris Danford
2008-12-21 09:18:36 +00:00
parent e3155aec51
commit f3bb67917c
8 changed files with 49 additions and 44 deletions
+5 -6
View File
@@ -110,16 +110,15 @@ function TextBannerAfterSet(self,param)
local Title=self:GetChild("Title");
local Subtitle=self:GetChild("Subtitle");
--local Artist=self:GetChild("Artist");
local edge_x = 120;
if Subtitle:GetText() == "" then
(cmd(maxwidth,300;x,edge_x;y,0;zoom,1.1;))(Title);
(cmd(maxwidth,300;y,0;zoom,1.1;))(Title);
(cmd(visible,false))(Subtitle);
--(cmd(zoom,0.66;maxwidth,300;x,edge_x;y,7))(Artist);
--(cmd(zoom,0.66;maxwidth,300;y,7))(Artist);
else
-- subtitle below
(cmd(zoom,1;x,edge_x;y,-6;zoom,1.0;))(Title);
(cmd(visible,true;zoom,0.6;x,edge_x;y,7))(Subtitle);
--(cmd(zoom,0.66;maxwidth,300;x,edge_x;y,9))(Artist);
(cmd(zoom,1;y,-6;zoom,1.0;))(Title);
(cmd(visible,true;zoom,0.6;y,7))(Subtitle);
--(cmd(zoom,0.66;maxwidth,300;y,9))(Artist);
end
end