mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-13 15:47:51 +00:00
Fix note scaling with one simple trick!
This commit is contained in:
parent
1fc835494d
commit
0706192cbe
|
@ -85,7 +85,7 @@ class StrumlineNote extends FlxSprite
|
|||
noteStyle.applyStrumlineFrames(this);
|
||||
noteStyle.applyStrumlineAnimations(this, this.direction);
|
||||
|
||||
this.setGraphicSize(Std.int(Strumline.STRUMLINE_SIZE * noteStyle.getStrumlineScale()));
|
||||
this.scale.set(noteStyle.getStrumlineScale());
|
||||
this.updateHitbox();
|
||||
noteStyle.applyStrumlineOffsets(this);
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ class NoteStyle implements IRegistryEntry<NoteStyleData>
|
|||
buildNoteAnimations(target);
|
||||
|
||||
// Set the scale.
|
||||
target.setGraphicSize(Strumline.STRUMLINE_SIZE * getNoteScale());
|
||||
target.scale.set(getNoteScale());
|
||||
target.updateHitbox();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue