From a65df235ee7a810d5e06d35b68a6db7db38fd926 Mon Sep 17 00:00:00 2001 From: axpoems <145597137+axpoems@users.noreply.github.com> Date: Wed, 8 Nov 2023 17:07:26 +0100 Subject: [PATCH] Change default duration for Transitions.transitContentViews --- desktop/src/main/java/bisq/desktop/common/Transitions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop/src/main/java/bisq/desktop/common/Transitions.java b/desktop/src/main/java/bisq/desktop/common/Transitions.java index 7754a3fc92..0927a4e6ff 100644 --- a/desktop/src/main/java/bisq/desktop/common/Transitions.java +++ b/desktop/src/main/java/bisq/desktop/common/Transitions.java @@ -160,7 +160,7 @@ public static Timeline slideOutHorizontal(Region node, Runnable finishedHandler, } - int duration = DEFAULT_DURATION / 2; + int duration = DEFAULT_DURATION / 4; ObservableList keyFrames = timeline.getKeyFrames(); keyFrames.add(new KeyFrame(Duration.millis(0), new KeyValue(node.opacityProperty(), 1, Interpolator.LINEAR), @@ -449,7 +449,7 @@ public static void transitContentViews(View { if (newView instanceof TransitionedView) { ((TransitionedView) newView).onTransitionCompleted();