diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-06-29 22:44:00 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-06-29 22:44:00 +0200 |
commit | 3d8003c89015017f34cabba8b43619b97b45a0df (patch) | |
tree | 1c9aedaf8e6245597324267b1a6ffbc37dd1b10e /pages | |
parent | 13d94996b2c039e28b00cc54e1458996f872d514 (diff) |
fix #4loop-drag
Diffstat (limited to 'pages')
-rw-r--r-- | pages/editor.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/editor.tsx b/pages/editor.tsx index ea6d664..5e0f2b0 100644 --- a/pages/editor.tsx +++ b/pages/editor.tsx @@ -369,7 +369,7 @@ function TimelineKeyframe(props: { return <animated.div className='frame posabs' style={{ - '--frame': spring.frame.get(), + '--frame': spring.frame, opacity: firstRender ? 0 : 1, } as CSSProperties} id={'slide-' + props.slide.id} @@ -787,7 +787,7 @@ function TimelineEditor() { } }); }, []); - // create new slide + // place new slide useDrag(({ xy: [rx, ry], initial: [ix, _iy], movement: [ox, _oy], last }) => { if (global.timeline.tool.value == 'cursor') return; |