diff --git a/package.json b/package.json index 738987e1..b669211e 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "evergreen-ui": "^4.23.0", "fast-xml-parser": "^3.17.4", "file-url": "^3.0.0", - "framer-motion": "3", + "framer-motion": "1", "hammerjs": "^2.0.8", "i18next-scanner": "^3.0.0", "icon-gen": "^2.0.0", diff --git a/src/SegmentList.jsx b/src/SegmentList.jsx index a6527f66..b76e23d7 100644 --- a/src/SegmentList.jsx +++ b/src/SegmentList.jsx @@ -87,7 +87,7 @@ const Segment = memo(({ seg, index, currentSegIndex, formatTimecode, getFrameCou role="button" onClick={() => !invertCutSegments && onClick(index)} onDoubleClick={onDoubleClick} - layout + positionTransition style={{ originY: 0, margin: '5px 0', border: `1px solid rgba(255,255,255,${isActive ? 1 : 0.3})`, padding: 5, borderRadius: 5, position: 'relative', opacity: !enabled && !invertCutSegments ? 0.5 : undefined }} initial={{ scaleY: 0 }} animate={{ scaleY: 1 }} diff --git a/src/TimelineSeg.jsx b/src/TimelineSeg.jsx index 56a0846f..b43bf670 100644 --- a/src/TimelineSeg.jsx +++ b/src/TimelineSeg.jsx @@ -48,8 +48,7 @@ const TimelineSeg = memo(({ return (