From e84f82f47b0422722b2e428dd5e9c0b5ea383797 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Fri, 3 Dec 2021 10:45:23 +0200 Subject: [PATCH] follow up --- src/main/java/com/sparrowwallet/sparrow/AppController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/AppController.java b/src/main/java/com/sparrowwallet/sparrow/AppController.java index 17337f91..818e9b5c 100644 --- a/src/main/java/com/sparrowwallet/sparrow/AppController.java +++ b/src/main/java/com/sparrowwallet/sparrow/AppController.java @@ -1729,7 +1729,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, 20); + Timeline timeline = AnimationUtil.getPulse(thumbArea, Duration.millis(600), 1.0, 0.4, 8); timeline.play(); serverToggle.setUserData(new AnimationUtil.AnimatedNode(thumbArea, timeline)); } @@ -1755,7 +1755,7 @@ public class AppController implements Initializable { private void tabLabelStartAnimation(Tab tab) { Label tabLabel = (Label) tab.getGraphic(); if(tabLabel.getUserData() == null) { - Timeline timeline = AnimationUtil.getPulse(tabLabel.getGraphic(), Duration.millis(1000), tabLabel.getGraphic().getOpacity(), 0.1, 20); + Timeline timeline = AnimationUtil.getPulse(tabLabel.getGraphic(), Duration.millis(1000), tabLabel.getGraphic().getOpacity(), 0.1, 8); timeline.play(); tabLabel.setUserData(timeline); }