mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 10:05:41 -05:00
clip rotated sus
This commit is contained in:
parent
bd771261e1
commit
d2cd5e82ad
2 changed files with 1 additions and 2 deletions
|
@ -184,8 +184,6 @@ class Note extends FlxSprite
|
||||||
}
|
}
|
||||||
|
|
||||||
prevNote.scale.y *= Conductor.stepCrochet / 100 * 1.5 * PlayState.SONG.speed;
|
prevNote.scale.y *= Conductor.stepCrochet / 100 * 1.5 * PlayState.SONG.speed;
|
||||||
if (PreferencesMenu.getPref('downscroll'))
|
|
||||||
prevNote.angle = 0;
|
|
||||||
prevNote.updateHitbox();
|
prevNote.updateHitbox();
|
||||||
// prevNote.setGraphicSize();
|
// prevNote.setGraphicSize();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
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.height = (strumLineMid - daNote.y) / daNote.scale.y;
|
||||||
|
swagRect.y = daNote.height / daNote.scale.y - swagRect.height;
|
||||||
daNote.clipRect = swagRect;
|
daNote.clipRect = swagRect;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue