Skip to content

Commit

Permalink
fix(core): adjust animation scale from 0.5 to 0.9 #INFR-10876
Browse files Browse the repository at this point in the history
  • Loading branch information
minlovehua committed Dec 7, 2023
1 parent 0e0a29c commit 80fd017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/animation/zoom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const scaleYMotion: AnimationTriggerMetadata = trigger('scaleYMotion', [
// The animation starts from the point and eases in and out.
export const scaleMotion: AnimationTriggerMetadata = trigger('scaleMotion', [
transition('* => enter', [
style({ opacity: 0, transform: 'scale(0.5, 0.5)' }),
style({ opacity: 0, transform: 'scale(0.9, 0.9)' }),
animate(
`${AnimationDuration.BASE} ${AnimationCurves.EASE_IN_OUT_STANDARD}`,
style({
Expand All @@ -79,7 +79,7 @@ export const scaleMotion: AnimationTriggerMetadata = trigger('scaleMotion', [
`${AnimationDuration.BASE} ${AnimationCurves.EASE_IN_OUT_STANDARD}`,
style({
opacity: 0,
transform: 'scale(0.5, 0.5)'
transform: 'scale(0.9, 0.9)'
})
)
])
Expand Down

0 comments on commit 80fd017

Please sign in to comment.