I'm trying to rotate an ImageView 90 degrees (JavaFX) each time the button is clicked:
private void rotate90(ActionEvent e){
if(currentImage != null){
imageView.setRotate(90);
}
}
but my code only rotates ImageView once, and after that it just stops.
currentImagea where is it changed? - hotzst