fix some theme issues

This commit is contained in:
AJ Kelly
2011-08-24 13:07:15 -05:00
parent 4eb2fe5730
commit c238cfe698
2 changed files with 7 additions and 6 deletions
@@ -7,9 +7,10 @@ local t = LoadFont("ScreenGameplay","RemainingTime") .. {
JudgmentMessageCommand=function(self,params) JudgmentMessageCommand=function(self,params)
if params.Player == PlayerNumber then if params.Player == PlayerNumber then
if params.TapNoteScore then if params.TapNoteScore then
local tns = ToEnumShortString(params.TapNoteScore)
self:playcommand( "GainSeconds" ); self:playcommand( "GainSeconds" );
self:playcommand( ToEnumShortString( params.TapNoteScore ) ); self:playcommand( tns );
self:settextf( "%+1.1fs", PREFSMAN:GetPreference( string.format("TimeMeterSecondsChange%s", ToEnumShortString( params.TapNoteScore ) ) ) ); self:settextf( "%+1.1fs", PREFSMAN:GetPreference( string.format("TimeMeterSecondsChange%s", tns) ) );
else else
return return
end end
+3 -3
View File
@@ -325,10 +325,10 @@ TextOffCommand=
FrameOnCommand=visible,false;spin FrameOnCommand=visible,false;spin
# #
TimeRemainingY=80 TimeRemainingY=80
TimeRemainingOnCommand=zoom,1;shadowlength,1;settext,"Hi!"; TimeRemainingOnCommand=zoom,1;shadowlength,1;
# #
DeltaSecondsOnCommand=y,80;settext,Hi;spin; DeltaSecondsOnCommand=y,80;spin;
DeltaSecondsGainLifeCommand=zoom,0.5;settext,"Hi!"; DeltaSecondsGainLifeCommand=zoom,0.5;
[ScoreDisplayPercentage Percent] [ScoreDisplayPercentage Percent]
PercentP1OnCommand=shadowlength,1;diffuse,PlayerColor(PLAYER_1);diffusetopedge,BoostColor(PlayerColor(PLAYER_1),1.5) PercentP1OnCommand=shadowlength,1;diffuse,PlayerColor(PLAYER_1);diffusetopedge,BoostColor(PlayerColor(PLAYER_1),1.5)