only show arrow when slider has been clicked initially
This commit is contained in:
parent
a98ac98b67
commit
992655ff10
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user