From 984cabfc03d58fd6f7b465451e73f883a131b91c Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Fri, 29 Apr 2022 15:54:37 +0200 Subject: [PATCH] make connection toggle pulsing clearer by increasing opacity range --- src/main/java/com/sparrowwallet/sparrow/AppController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/AppController.java b/src/main/java/com/sparrowwallet/sparrow/AppController.java index d55a8060..7b652880 100644 --- a/src/main/java/com/sparrowwallet/sparrow/AppController.java +++ b/src/main/java/com/sparrowwallet/sparrow/AppController.java @@ -1886,7 +1886,7 @@ public class AppController implements Initializable { private void serverToggleStartAnimation() { Node thumbArea = serverToggle.lookup(".thumb-area"); if(thumbArea != null) { - Timeline timeline = AnimationUtil.getPulse(thumbArea, Duration.millis(600), 1.0, 0.4, 8); + Timeline timeline = AnimationUtil.getPulse(thumbArea, Duration.millis(600), 1.0, 0.25, 8); timeline.play(); serverToggle.setUserData(new AnimationUtil.AnimatedNode(thumbArea, timeline)); }