mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-15 11:22:55 +00:00
fix for heart icons being on the wrong frames
This commit is contained in:
parent
5751430261
commit
ab2f949d7e
|
@ -213,6 +213,7 @@ class SongMenuItem extends FlxSpriteGroup
|
|||
favIconBlurred.frames = Paths.getSparrowAtlas('freeplay/favHeart');
|
||||
favIconBlurred.animation.addByPrefix('fav', 'favorite heart', 24, false);
|
||||
favIconBlurred.animation.play('fav');
|
||||
|
||||
favIconBlurred.setGraphicSize(50, 50);
|
||||
favIconBlurred.blend = BlendMode.ADD;
|
||||
favIconBlurred.shader = new GaussianBlurShader(1.2);
|
||||
|
@ -516,6 +517,9 @@ class SongMenuItem extends FlxSpriteGroup
|
|||
updateDifficultyRating(songData?.difficultyRating ?? 0);
|
||||
updateScoringRank(songData?.scoringRank);
|
||||
newText.visible = songData?.isNew;
|
||||
favIcon.animation.curAnim.curFrame = favIcon.animation.curAnim.numFrames - 1;
|
||||
favIconBlurred.animation.curAnim.curFrame = favIconBlurred.animation.curAnim.numFrames - 1;
|
||||
|
||||
// Update opacity, offsets, etc.
|
||||
updateSelected();
|
||||
|
||||
|
|
Loading…
Reference in a new issue