mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-14 19:25:16 -05:00
Fix note scaling with one simple trick!
This commit is contained in:
parent
1fc835494d
commit
0706192cbe
2 changed files with 2 additions and 2 deletions
|
@ -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