Don't remove glyphs until they leave screen
This commit is contained in:
parent
2f1a22742b
commit
773b6e3bf5
@ -770,7 +770,8 @@ public:
|
||||
{
|
||||
Glyph* n = *it;
|
||||
float bottom_y = glyph_bottom_y(*n);
|
||||
if (bottom_y > screen_height + 40.0f)
|
||||
float top_y = bottom_y - glyph_height_px(*n, lane_width);
|
||||
if (top_y > screen_height + 40.0f)
|
||||
{
|
||||
completed_notes.erase(n);
|
||||
missed_notes.erase(n);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user