mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
refactor(android): no transition duration to 1ms (#7486)
This commit is contained in:
@@ -787,7 +787,8 @@ function javaObjectArray(...params: java.lang.Object[]) {
|
||||
|
||||
function createDummyZeroDurationAnimator(): android.animation.Animator {
|
||||
const animator = android.animation.ValueAnimator.ofObject(intEvaluator(), javaObjectArray(java.lang.Integer.valueOf(0), java.lang.Integer.valueOf(1)));
|
||||
animator.setDuration(0);
|
||||
// TODO: investigate why this is necessary for 3 levels of nested frames
|
||||
animator.setDuration(1);
|
||||
|
||||
return animator;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user