Set cliprect for clear percent.

Co-authored-by: Mihai Alexandru <77043862+MAJigsaw77@users.noreply.github.com>
This commit is contained in:
sector-a
2025-07-25 17:43:34 +03:00
committed by GitHub
co-authored by Mihai Alexandru
parent 530bd1f11d
commit 6abeefb15d
+1
View File
@@ -744,6 +744,7 @@ class ResultState extends MusicBeatSubState
super.draw();
songName.clipRect = FlxRect.get(Math.max(0, 520 - songName.x), 0, FlxG.width, songName.height);
clearPercentSmall.forEachAlive(spr -> spr.clipRect = FlxRect.get(Math.max(0, 520 - spr.x), 0, FlxG.width, spr.height));
// PROBABLY SHOULD FIX MEMORY FREE OR WHATEVER THE PUT() FUNCTION DOES !!!! FEELS LIKE IT STUTTERS!!!