mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-26 17:46:08 -05:00
fix for heart icons being on the wrong frames
This commit is contained in:
parent
bdbc136497
commit
da834dab8d
1 changed files with 4 additions and 0 deletions
|
@ -213,6 +213,7 @@ class SongMenuItem extends FlxSpriteGroup
|
||||||
favIconBlurred.frames = Paths.getSparrowAtlas('freeplay/favHeart');
|
favIconBlurred.frames = Paths.getSparrowAtlas('freeplay/favHeart');
|
||||||
favIconBlurred.animation.addByPrefix('fav', 'favorite heart', 24, false);
|
favIconBlurred.animation.addByPrefix('fav', 'favorite heart', 24, false);
|
||||||
favIconBlurred.animation.play('fav');
|
favIconBlurred.animation.play('fav');
|
||||||
|
|
||||||
favIconBlurred.setGraphicSize(50, 50);
|
favIconBlurred.setGraphicSize(50, 50);
|
||||||
favIconBlurred.blend = BlendMode.ADD;
|
favIconBlurred.blend = BlendMode.ADD;
|
||||||
favIconBlurred.shader = new GaussianBlurShader(1.2);
|
favIconBlurred.shader = new GaussianBlurShader(1.2);
|
||||||
|
@ -516,6 +517,9 @@ class SongMenuItem extends FlxSpriteGroup
|
||||||
updateDifficultyRating(songData?.difficultyRating ?? 0);
|
updateDifficultyRating(songData?.difficultyRating ?? 0);
|
||||||
updateScoringRank(songData?.scoringRank);
|
updateScoringRank(songData?.scoringRank);
|
||||||
newText.visible = songData?.isNew;
|
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.
|
// Update opacity, offsets, etc.
|
||||||
updateSelected();
|
updateSelected();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue