Skip to content

Commit

Permalink
Activators are no longer obscured by SP
Browse files Browse the repository at this point in the history
Rearranged the code so that if an activator also happens be an SP note, it will always display purple.
  • Loading branch information
EscapeNumber001 committed Apr 19, 2023
1 parent 143ed74 commit 8fe646d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Assets/Script/Pools/NoteComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ private Color ColorCacheSustains {
private Color _colorCacheNotes = Color.white;
private Color ColorCacheNotes {
get {
if (isActivatorNote) {
return Color.magenta;
}

// If within starpower section
if (pool.player.track.StarpowerSection?.EndTime > pool.player.track.RelativeTime) {
return Color.white;
}

if (isActivatorNote) {
return Color.magenta;
}

return _colorCacheNotes;
}
set => _colorCacheNotes = value;
Expand Down

0 comments on commit 8fe646d

Please sign in to comment.