diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-05-23 15:53:13 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-05-23 15:53:13 +0200 |
commit | 33b33dd282d67d1adc603a749c7116bbdaff589f (patch) | |
tree | 3d848f0432b0bc741e077452456f3292a622e826 /components | |
parent | 9a0cb1148039c30b7a001bfca548e4223137ecbb (diff) |
sorta working resizeable loops
Diffstat (limited to 'components')
-rw-r--r-- | components/icons.tsx | 1 | ||||
-rw-r--r-- | components/loop.tsx | 12 |
2 files changed, 1 insertions, 12 deletions
diff --git a/components/icons.tsx b/components/icons.tsx index 954f516..50bf8f0 100644 --- a/components/icons.tsx +++ b/components/icons.tsx @@ -1,3 +1,4 @@ +import { Ref } from 'react'; import { keyframeTypes } from '../timeline'; export function PressureIcon() { diff --git a/components/loop.tsx b/components/loop.tsx deleted file mode 100644 index f459ab5..0000000 --- a/components/loop.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import { CSSProperties } from 'react'; -import { SlideKeyframe } from './icons'; - -export default function Loop(props: { - length: number; -}) { - return <div style={{ '--loop-length': props.length } as CSSProperties} className='loop'> - <SlideKeyframe type='loop' /> - <div className='connector dispinbl' /> - <SlideKeyframe type='loop' loopEnd /> - </div>; -} |