From d3959d140ee327fa7c0ed5e634da80493bb8b934 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Tue, 8 Mar 2011 20:24:02 -0600 Subject: [PATCH] fix default theme (MeterDisplay width) --- .../default/BGAnimations/ScreenGameplay decorations/default.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Themes/default/BGAnimations/ScreenGameplay decorations/default.lua b/Themes/default/BGAnimations/ScreenGameplay decorations/default.lua index 63346394a4..1eeeb911f1 100644 --- a/Themes/default/BGAnimations/ScreenGameplay decorations/default.lua +++ b/Themes/default/BGAnimations/ScreenGameplay decorations/default.lua @@ -160,7 +160,7 @@ t[#t+1] = Def.ActorFrame { OnCommand=cmd(x,scale(0.75,0,1,-380/2,380/2);diffuse,Color("Orange");diffusealpha,0.5); }; Def.SongMeterDisplay { - StreamWidth=THEME:GetMetric( "SongMeterDisplay", 'StreamWidth' ); + InitCommand=cmd(SetStreamWidth,THEME:GetMetric( "SongMeterDisplay", 'StreamWidth' )); Stream=LoadActor( THEME:GetPathG( 'SongMeterDisplay', 'stream ' .. PlayerNumberToString(PLAYER_1) ) )..{ InitCommand=cmd(diffuse,Color("Orange");diffusealpha,0.5;blend,Blend.Add;); };