Skip to content

Commit

Permalink
Shorter delay.
Browse files Browse the repository at this point in the history
  • Loading branch information
thesoftwarephilosopher committed Aug 30, 2024
1 parent 0453c36 commit 6226bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/unity/client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const editor2 = monaco.editor.create(editorContainer2, {
});

transformJsxInSecondEditor();
editor1.onDidChangeModelContent(throttle(200, transformJsxInSecondEditor));
editor1.onDidChangeModelContent(throttle(20, transformJsxInSecondEditor));

async function transformJsxInSecondEditor() {
const code = model1.getValue();
Expand Down

0 comments on commit 6226bf4

Please sign in to comment.