From 773b6e3bf558a0314771b6d8de2b29b458031d4e Mon Sep 17 00:00:00 2001 From: Gordon Weeks <627684+gcweeks@users.noreply.github.com> Date: Sat, 31 Jan 2026 22:21:14 -0800 Subject: [PATCH] Don't remove glyphs until they leave screen --- src/samples/ghhb_game.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/samples/ghhb_game.h b/src/samples/ghhb_game.h index 296f2ca..b105e3b 100644 --- a/src/samples/ghhb_game.h +++ b/src/samples/ghhb_game.h @@ -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);