clip rotated sus

This commit is contained in:
MtH 2021-03-31 14:43:37 +02:00
parent 4518cbfbbc
commit 393ab7733d
2 changed files with 1 additions and 2 deletions

View File

@ -184,8 +184,6 @@ class Note extends FlxSprite
}
prevNote.scale.y *= Conductor.stepCrochet / 100 * 1.5 * PlayState.SONG.speed;
if (PreferencesMenu.getPref('downscroll'))
prevNote.angle = 0;
prevNote.updateHitbox();
// prevNote.setGraphicSize();
}

View File

@ -1661,6 +1661,7 @@ class PlayState extends MusicBeatState
var swagRect:FlxRect = new FlxRect(0, 0, daNote.width / daNote.scale.x, daNote.height / daNote.scale.y);
swagRect.height = (strumLineMid - daNote.y) / daNote.scale.y;
swagRect.y = daNote.height / daNote.scale.y - swagRect.height;
daNote.clipRect = swagRect;
}
}