hold notes position fix
This commit is contained in:
parent
44fa55f165
commit
6c1af6722b
@ -143,7 +143,9 @@ class Note extends FlxSprite
|
||||
animation.add(dataColor[i] + 'holdend', [i + 4]); // Tails
|
||||
}
|
||||
|
||||
setGraphicSize(Std.int(width * PlayState.daPixelZoom));
|
||||
var widthSize = Std.int(PlayState.curStage.startsWith('school') ? (width * PlayState.daPixelZoom) : (isSustainNote ? (width * 4.5) : (width * PlayState.daPixelZoom)));
|
||||
|
||||
setGraphicSize(widthSize);
|
||||
updateHitbox();
|
||||
default:
|
||||
frames = Paths.getSparrowAtlas('NOTE_assets');
|
||||
|
Loading…
x
Reference in New Issue
Block a user