[release/3.7] 修复初次打开部分页面时页面闪烁的问题 (#4817)
https://github.com/HMCL-dev/HMCL/pull/4795
This commit is contained in:
1 parent
6375558591
commit
01f0a38f1c
1 file changed
+2
@@ -64,6 +64,8 @@ public final class DecoratorAnimationProducer implements AnimationProducer {
|
||||
new KeyValue(center.translateXProperty(), 30, Interpolator.EASE_BOTH)));
|
||||
}
|
||||
|
||||
keyFrames.add(new KeyFrame(Duration.ZERO,
|
||||
new KeyValue(next.opacityProperty(), 0, Interpolator.EASE_BOTH)));
|
||||
keyFrames.add(new KeyFrame(halfDuration,
|
||||
new KeyValue(next.opacityProperty(), 0, Interpolator.EASE_BOTH)));
|
||||
keyFrames.add(new KeyFrame(handler.getDuration(),
|
||||
|
||||
Reference in new issue
Block a user