Skip to content

Commit

Permalink
Merge pull request #2137 from framer/fix/translate-none-keyframes
Browse files Browse the repository at this point in the history
Fixing unit conversion for translate values
  • Loading branch information
mergetron[bot] committed May 24, 2023
2 parents e2820f8 + 941003a commit 5dda6e7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ const positionalKeys = new Set([
"bottom",
"x",
"y",
"translateX",
"translateY",
])
const isPositionalKey = (key: string) => positionalKeys.has(key)
const hasPositionalKey = (target: TargetWithKeyframes) => {
Expand Down

0 comments on commit 5dda6e7

Please sign in to comment.