mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
increase toggle connecting animation rate
This commit is contained in:
parent
72cb696451
commit
d3b1c51115
1 changed files with 1 additions and 1 deletions
|
@ -1617,7 +1617,7 @@ public class AppController implements Initializable {
|
||||||
private void serverToggleStartAnimation() {
|
private void serverToggleStartAnimation() {
|
||||||
Node thumbArea = serverToggle.lookup(".thumb-area");
|
Node thumbArea = serverToggle.lookup(".thumb-area");
|
||||||
if(thumbArea != null) {
|
if(thumbArea != null) {
|
||||||
FadeTransition fadeTransition = new FadeTransition(Duration.millis(1000), thumbArea);
|
FadeTransition fadeTransition = new FadeTransition(Duration.millis(600), thumbArea);
|
||||||
fadeTransition.setFromValue(1.0);
|
fadeTransition.setFromValue(1.0);
|
||||||
fadeTransition.setToValue(0.4);
|
fadeTransition.setToValue(0.4);
|
||||||
fadeTransition.setAutoReverse(true);
|
fadeTransition.setAutoReverse(true);
|
||||||
|
|
Loading…
Reference in a new issue