File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -470,7 +470,7 @@ export class PersistentBottomSheet extends GridLayout {
470
470
// stepIndexProperty.nativeValueChange
471
471
// this.stepIndex = stepIndex;
472
472
stepIndexProperty . nativeValueChange ( this , stepIndex ) ;
473
- this . animateToPosition ( viewHeight - destSnapPoint , Math . min ( distance , OPEN_DURATION ) ) ;
473
+ this . animateToPosition ( viewHeight - destSnapPoint , Math . min ( distance * 2 , OPEN_DURATION ) ) ;
474
474
}
475
475
onGestureTouch ( args : GestureTouchEventData ) {
476
476
const data = args . data ;
@@ -527,7 +527,7 @@ export class PersistentBottomSheet extends GridLayout {
527
527
if ( data . target ) {
528
528
return Object . assign (
529
529
{
530
- curve : AnimationCurve . easeInOut ,
530
+ curve : AnimationCurve . easeOut ,
531
531
duration,
532
532
} ,
533
533
transformAnimationValues ( trData [ k ] )
@@ -536,7 +536,7 @@ export class PersistentBottomSheet extends GridLayout {
536
536
return Object . assign (
537
537
{
538
538
target : this [ k ] ,
539
- curve : AnimationCurve . easeInOut ,
539
+ curve : AnimationCurve . easeOut ,
540
540
duration,
541
541
} ,
542
542
transformAnimationValues ( trData [ k ] )
You can’t perform that action at this time.
0 commit comments