mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2026-10-29 07:06:49 +08:00
[release/3.7] 修复初次打开部分页面时页面闪烁的问题 (#4817)
https://github.com/HMCL-dev/HMCL/pull/4795
This commit is contained in:
@@ -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