various theme changes by Midiman and myself.
This commit is contained in:
@@ -1,16 +1,19 @@
|
||||
return LoadFont("Common Normal") .. {
|
||||
Text="BPM";
|
||||
SetCommand=function(self)
|
||||
local bIsFirst = false;
|
||||
local song = GAMESTATE:GetCurrentSong();
|
||||
self:stoptweening();
|
||||
self:linear(0.25);
|
||||
if song then
|
||||
self:diffusebottomedge( song:GetTimingData():HasStops() and color("#55CCEE") or color("#FFFFFF") );
|
||||
else
|
||||
self:diffusebottomedge( color("#FFFFFF") );
|
||||
return Def.ActorFrame {
|
||||
LoadFont("Common Normal") .. {
|
||||
Text="BPM";
|
||||
InitCommand=cmd(horizalign,right;zoom,0.75;strokecolor,Color("Outline"));
|
||||
SetCommand=function(self)
|
||||
local bIsFirst = false;
|
||||
local song = GAMESTATE:GetCurrentSong();
|
||||
self:stoptweening();
|
||||
-- self:linear(0.25);
|
||||
if song then
|
||||
self:diffusebottomedge( song:GetTimingData():HasStops() and color("#55CCEE") or color("#FFFFFF") );
|
||||
else
|
||||
self:diffusebottomedge( color("#FFFFFF") );
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
CurrentSongChangedMessageCommand=cmd(playcommand,"Set");
|
||||
CurrentCourseChangedMessageCommand=cmd(playcommand,"Set");
|
||||
CurrentSongChangedMessageCommand=cmd(playcommand,"Set");
|
||||
CurrentCourseChangedMessageCommand=cmd(playcommand,"Set");
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user