Skip to content

Commit

Permalink
dont render interval bars past receptors
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Jul 18, 2023
1 parent 15c762f commit 9102303
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Etterna/Actor/Gameplay/NoteField.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,8 @@ NoteField::DrawPrimitives()
const auto realStart = visibleSecondStart - distanceThroughInterval;
for (auto timePos = realStart; timePos <= visibleSecondEnd;
timePos += intervalSize) {
if (timePos < visibleSecondStart)
continue;
const auto fBeat = pTiming->GetBeatFromElapsedTime(timePos);
DrawCalcIntervalBar(fBeat);
}
Expand Down

0 comments on commit 9102303

Please sign in to comment.