From e5df2034fd6f913e56f272943a5059fa539e2e89 Mon Sep 17 00:00:00 2001 From: Glavo Date: Sat, 15 Nov 2025 22:48:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=9D=E6=AC=A1=E6=89=93?= =?UTF-8?q?=E5=BC=80=E9=83=A8=E5=88=86=E9=A1=B5=E9=9D=A2=E6=97=B6=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E9=97=AA=E7=83=81=E7=9A=84=E9=97=AE=E9=A2=98=20(#4795?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/jackhuang/hmcl/ui/animation/ContainerAnimations.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/animation/ContainerAnimations.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/animation/ContainerAnimations.java index 89a300be6..38e6f185f 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/animation/ContainerAnimations.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/animation/ContainerAnimations.java @@ -228,6 +228,8 @@ public enum ContainerAnimations implements TransitionPane.AnimationProducer { new KeyValue(center.translateXProperty(), 30, interpolator))); } + timeline.getKeyFrames().add(new KeyFrame(Duration.ZERO, + new KeyValue(nextNode.opacityProperty(), 0, interpolator))); timeline.getKeyFrames().add(new KeyFrame(halfDuration, new KeyValue(nextNode.opacityProperty(), 0, interpolator))); timeline.getKeyFrames().add(new KeyFrame(duration,