Skip to content

Commit

Permalink
Merge pull request #11 from ljt990218/main
Browse files Browse the repository at this point in the history
fix(card_transition): Better left-slide return transition
  • Loading branch information
seasonhuang authored Jan 20, 2025
2 parents 0784635 + 3507a3e commit 811b299
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/card_transition/components/card/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,13 @@ Component({
() => {
'worklet'
return {
opacity: this.opacity.value,
borderTopRightRadius: this.radius.value, // 不带单位默认是 px
borderTopLeftRadius: this.radius.value,
}
},
{
immediate: true,
immediate: false,
flush: 'sync'
},
() => {},
Expand Down

0 comments on commit 811b299

Please sign in to comment.