Skip to content

Commit

Permalink
til death fix regression with banner becoming visible behind preview
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Aug 6, 2022
1 parent 87b26c2 commit 23cf20e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,6 @@ t[#t + 1] = Def.Sprite {
self:finishtweening()
if song then
local bnpath = GAMESTATE:GetCurrentSong():GetBannerPath()
self:visible(true)
if not BannersEnabled() then
self:visible(false)
elseif not bnpath then
Expand All @@ -829,7 +828,6 @@ t[#t + 1] = Def.Sprite {
self:LoadBackground(bnpath)
else
local bnpath = SONGMAN:GetSongGroupBannerPath(SCREENMAN:GetTopScreen():GetMusicWheel():GetSelectedSection())
self:visible(true)
if not BannersEnabled() then
self:visible(false)
elseif not bnpath or bnpath == "" then
Expand All @@ -843,7 +841,7 @@ t[#t + 1] = Def.Sprite {
self:visible(false)
end,
ChartPreviewOffMessageCommand = function(self)
self:visible(true)
self:visible(BannersEnabled())
end
}
local enabledC = "#099948"
Expand Down

0 comments on commit 23cf20e

Please sign in to comment.