diff --git a/src/components/stateless/ScriptView/index.jsx b/src/components/stateless/ScriptView/index.jsx index 8d302c987..4615420dc 100644 --- a/src/components/stateless/ScriptView/index.jsx +++ b/src/components/stateless/ScriptView/index.jsx @@ -50,7 +50,7 @@ const ScriptView = ({ showMultiplePackageOptions = true, codeLanguage, commandMa
{index > 0 && {/*
{ setIsAnimation(false) console.log('Completed animating', definition) }} - > + />
{ onDragStart={(event, info) => console.log(info.point.x, info.point.y)} onDragEnd={(event, info) => console.log(info.point.x, info.point.y)} onDirectionLock={(axis) => console.log('axis', axis)} - dragSnapToOrigin={true} + dragSnapToOrigin // dragConstraints={{ left: 0, right: 300 }} dragConstraints={constraintsRef} - // dragElastic={false} - // dragElastic={0.8} - // dragPropagation={false} - > + />
{ backgroundColor: 'white', borderRadius: 60, }} - > + />
scrollDirection: {scrollDirection}
@@ -706,12 +703,8 @@ const ParallaxVert = ({ props }) => {
-
-

+

+

{words.map((word, i) => { const start = i / words.length const end = start + 1 / words.length @@ -864,7 +857,7 @@ const ParallaxVert = ({ props }) => { backgroundColor: '#fff', borderRadius: 10, }} - > + /> { backgroundColor: '#fff', borderRadius: 10, }} - > + />

@@ -886,7 +879,7 @@ const Word = ({ children, progress, range }) => { return ( {children} - + {children}