only show arrow when slider has been clicked initially

This commit is contained in:
yugecin 2016-11-13 01:19:59 +01:00
parent a98ac98b67
commit 992655ff10

View File

@ -301,7 +301,7 @@ public class Slider extends GameObject {
// last circle // last circle
arrow.setRotation(curve.getEndAngle()); arrow.setRotation(curve.getEndAngle());
arrow.drawCentered(endPos.x, endPos.y, arrowColor); arrow.drawCentered(endPos.x, endPos.y, arrowColor);
} else { } else if (sliderClickedInitial) {
// first circle // first circle
arrow.setRotation(curve.getStartAngle()); arrow.setRotation(curve.getStartAngle());
arrow.drawCentered(x, y, arrowColor); arrow.drawCentered(x, y, arrowColor);