fix mirror curve for mergingsliders
This commit is contained in:
parent
cfa27727db
commit
642baf1081
|
@ -1606,6 +1606,12 @@ public class Game extends BasicGameState {
|
||||||
private void drawHitObjects(Graphics g, int trackPosition) {
|
private void drawHitObjects(Graphics g, int trackPosition) {
|
||||||
if (Options.isMergingSliders() && knorkesliders != null) {
|
if (Options.isMergingSliders() && knorkesliders != null) {
|
||||||
knorkesliders.draw(Color.white, this.slidercurveFrom, this.slidercurveTo);
|
knorkesliders.draw(Color.white, this.slidercurveFrom, this.slidercurveTo);
|
||||||
|
if (Options.isMirror()) {
|
||||||
|
g.pushTransform();
|
||||||
|
g.rotate(Options.width / 2f, Options.height / 2f, 180f);
|
||||||
|
knorkesliders.draw(Color.white, this.slidercurveFrom, this.slidercurveTo);
|
||||||
|
g.popTransform();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// include previous object in follow points
|
// include previous object in follow points
|
||||||
int lastObjectIndex = -1;
|
int lastObjectIndex = -1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user