fix bug related to percent on selmusic when no song is displayed.
metrics edits (trying to get the percent score to not suck on eval; not really working out so well) Midi updated themeinfo and productivtyhelpers recently, too
This commit is contained in:
@@ -72,7 +72,8 @@ local function PercentScore(pn)
|
||||
end;
|
||||
self:settext(text);
|
||||
end;
|
||||
CurrentSongChangesMessageCommand=cmd(playcommand,"Set");
|
||||
CurrentSongChangedMessageCommand=cmd(playcommand,"Set");
|
||||
CurrentCourseChangedMessageCommand=cmd(playcommand,"Set");
|
||||
};
|
||||
|
||||
if pn == PLAYER_1 then
|
||||
@@ -208,17 +209,6 @@ if GAMESTATE:IsCourseMode() then
|
||||
end
|
||||
|
||||
t[#t+1] = StandardDecorationFromFileOptional("DifficultyDisplay","DifficultyDisplay");
|
||||
|
||||
t[#t+1] = StandardDecorationFromFileOptional("SortOrder","SortOrderText") .. {
|
||||
BeginCommand=cmd(playcommand,"Set");
|
||||
SortOrderChangedMessageCommand=cmd(playcommand,"Set";);
|
||||
SetCommand=function(self)
|
||||
local s = SortOrderToLocalizedString( GAMESTATE:GetSortOrder() );
|
||||
self:settext( s );
|
||||
self:playcommand("Sort");
|
||||
end;
|
||||
};
|
||||
|
||||
t[#t+1] = StandardDecorationFromFileOptional("SortOrderFrame","SortOrderFrame") .. {
|
||||
--[[ BeginCommand=cmd(playcommand,"Set");
|
||||
SortOrderChangedMessageCommand=cmd(playcommand,"Set";);
|
||||
@@ -228,6 +218,15 @@ t[#t+1] = StandardDecorationFromFileOptional("SortOrderFrame","SortOrderFrame")
|
||||
self:playcommand("Sort");
|
||||
end; --]]
|
||||
};
|
||||
t[#t+1] = StandardDecorationFromFileOptional("SortOrder","SortOrderText") .. {
|
||||
BeginCommand=cmd(playcommand,"Set");
|
||||
SortOrderChangedMessageCommand=cmd(playcommand,"Set";);
|
||||
SetCommand=function(self)
|
||||
local s = SortOrderToLocalizedString( GAMESTATE:GetSortOrder() );
|
||||
self:settext( s );
|
||||
self:playcommand("Sort");
|
||||
end;
|
||||
};
|
||||
t[#t+1] = StandardDecorationFromFileOptional("SongOptionsFrame","SongOptionsFrame") .. {
|
||||
ShowPressStartForOptionsCommand=THEME:GetMetric(Var "LoadingScreen","SongOptionsFrameShowCommand");
|
||||
ShowEnteringOptionsCommand=THEME:GetMetric(Var "LoadingScreen","SongOptionsFrameEnterCommand");
|
||||
|
||||
Reference in New Issue
Block a user