Skip to content

Commit

Permalink
fix tap/hold draw order
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Jul 6, 2020
1 parent bc1f997 commit ba85ec7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Etterna/Actor/Gameplay/NoteDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1934,13 +1934,14 @@ NoteColumnRenderer::DrawPrimitives()
}
}

if (!taps.empty())
any_upcoming |= m_displays[PLAYER_1]->DrawTapsInRange(
*m_field_render_args, m_column_render_args, taps);

// Draw holds before taps to make sure taps dont hide behind holds
if (!holds.empty())
any_upcoming |= m_displays[PLAYER_1]->DrawHoldsInRange(
*m_field_render_args, m_column_render_args, holds);

if (!taps.empty())
any_upcoming |= m_displays[PLAYER_1]->DrawTapsInRange(
*m_field_render_args, m_column_render_args, taps);
}

void
Expand Down

0 comments on commit ba85ec7

Please sign in to comment.