mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 10:22:31 +01:00
remove code that i cannot get to work
This commit is contained in:
parent
9d3ddb4207
commit
c96fffda86
@ -94,11 +94,6 @@ const OutSegTemplateEditor = memo(({ outSegTemplate, setOutSegTemplate, generate
|
||||
|
||||
const newValue = `${text.slice(0, startPos)}${`\${${variable}}${text.slice(endPos)}`}`;
|
||||
setText(newValue);
|
||||
|
||||
// Move the cursor to after the inserted variable
|
||||
const newPos = startPos + variable.length + 2;
|
||||
input.selectionStart = newPos;
|
||||
input.selectionEnd = newPos;
|
||||
}, [text]);
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user