increase toggle connecting animation rate

This commit is contained in:
Craig Raw 2021-10-28 16:55:24 +02:00
parent 72cb696451
commit d3b1c51115

View file

@ -1617,7 +1617,7 @@ public class AppController implements Initializable {
private void serverToggleStartAnimation() {
Node thumbArea = serverToggle.lookup(".thumb-area");
if(thumbArea != null) {
FadeTransition fadeTransition = new FadeTransition(Duration.millis(1000), thumbArea);
FadeTransition fadeTransition = new FadeTransition(Duration.millis(600), thumbArea);
fadeTransition.setFromValue(1.0);
fadeTransition.setToValue(0.4);
fadeTransition.setAutoReverse(true);