Open source CapCut alternative.
TypeScript
Remove prototype label caret
David Leab18fa9f8202
diff --git a/site/src/app/prototype/_components/SpawnedCursor.tsx b/site/src/app/prototype/_components/SpawnedCursor.tsxindex 0cd7a7e0..3109009f 100644--- a/site/src/app/prototype/_components/SpawnedCursor.tsx+++ b/site/src/app/prototype/_components/SpawnedCursor.tsx@@ -163,16 +163,6 @@ export function SpawnedCursor({ spawn, spawnOrigin }: Props) {>{label}</span>- <span- aria-hidden="true"- className="ml-px inline-block h-[10px] w-px bg-white"- style={{- animation: [- `labelCaretBlink-${id} 650ms steps(1, end) infinite`,- `labelCaretHide-${id} 1ms linear ${labelTypingDurationMs + 700}ms forwards`,- ].join(', '),- }}- /></div>);})()@@ -182,13 +172,6 @@ export function SpawnedCursor({ spawn, spawnOrigin }: Props) {from { max-width: 0; }to { max-width: ${labelWidth}; }}- @keyframes labelCaretBlink-${id} {- 0%, 45% { opacity: 1; }- 46%, 100% { opacity: 0; }- }- @keyframes labelCaretHide-${id} {- to { opacity: 0; }- }@keyframes fadeinLabel-${id} {from { opacity: 0; }to { opacity: 1; }