Skip to content

Commit

Permalink
explicitly set chartpreview notefield visibility when toggling
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 24, 2018
1 parent 8a5dbba commit 5f83ccd
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -117,9 +117,11 @@ local function toggleNoteField()
if song then
if mcbootlarder:GetVisible() then
mcbootlarder:visible(false)
mcbootlarder:GetChild("NoteField"):visible(false)
MESSAGEMAN:Broadcast("ChartPreviewOff")
else
mcbootlarder:visible(true)
mcbootlarder:GetChild("NoteField"):visible(true)
MESSAGEMAN:Broadcast("ChartPreviewOn")
end
end
Expand Down

0 comments on commit 5f83ccd

Please sign in to comment.