Skip to content

Commit

Permalink
add simple color indicator for installed packs in packlist
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jul 23, 2018
1 parent 7b063de commit cc7d661
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Themes/Til Death/BGAnimations/packlistDisplay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,18 @@ local function makePackDisplay(i)
end
end,

Def.Quad{InitCommand=function(self) self:x(offx):zoomto(dwidth,pdh):halign(0):diffuse(color("#000000")):diffusealpha(0.3) end},
Def.Quad{
InitCommand=function(self)
self:x(offx):zoomto(dwidth,pdh):halign(0)
end,
DisplayCommand=function(self)
if SONGMAN:DoesSongGroupExist(packinfo:GetName()) then
self:diffuse(color("#00ff00")):diffusealpha(0.3)
else
self:diffuse(color("#000000")):diffusealpha(0.3)
end
end
},

LoadFont("Common normal") .. { --index
InitCommand=function(self)
Expand Down

0 comments on commit cc7d661

Please sign in to comment.