From 8a4cb0a151ad82c711ff13ebc5b948db34bbb8f3 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 22 Jul 2018 17:26:47 -0400 Subject: [PATCH] hide packlist on bundle screen if a bundle has not been selected --- Themes/Til Death/BGAnimations/ScreenBundleSelect underlay.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Themes/Til Death/BGAnimations/ScreenBundleSelect underlay.lua b/Themes/Til Death/BGAnimations/ScreenBundleSelect underlay.lua index 223bde28e3..753aae54e2 100644 --- a/Themes/Til Death/BGAnimations/ScreenBundleSelect underlay.lua +++ b/Themes/Til Death/BGAnimations/ScreenBundleSelect underlay.lua @@ -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, @@ -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