Skip to content

Commit

Permalink
hide packlist on bundle screen if a bundle has not been selected
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jul 23, 2018
1 parent cc7d661 commit 8a4cb0a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ local ind = 0
local o = Def.ActorFrame{
InitCommand=function(self)
self:xy(offx + width/2, 0):halign(0.5):valign(0)
self:GetChild("PacklistDisplay"):xy(SCREEN_WIDTH/2.5 - offx - (offx + width/2), offy * 2 + 14) --- uuuu messy... basically cancel out the x coord of the parent
self:GetChild("PacklistDisplay"):xy(SCREEN_WIDTH/2.5 - offx - (offx + width/2), offy * 2 + 14):visible(false) --- uuuu messy... basically cancel out the x coord of the parent
packlist = DLMAN:GetPacklist()
self:SetUpdateFunction(highlight)
end,
Expand Down Expand Up @@ -185,6 +185,7 @@ local function makedoots(i)
if isOver(self) then
packlist:SetFromCoreBundle(minidoots[i]:lower())
self:GetParent():GetParent():queuecommand("PackTableRefresh") -- perhaps it would be best if the packlist broadcast instead - mina
self:GetParent():GetParent():visible(true):GetChild("PacklistDisplay"):visible(true)
ind = i
end
end
Expand Down

0 comments on commit 8a4cb0a

Please sign in to comment.