Skip to content

Commit

Permalink
fix: use proper event
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed May 30, 2023
1 parent 2634a56 commit a3ca5f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const openNewCodeEditor: OpenEditor = async (modelRef) => {
editor
}

editor.onDidBlurEditorText(() => {
editor.onDidBlurEditorWidget(() => {
currentEditor?.dispose()
})
container.addEventListener('mousedown', (event) => {
Expand Down

0 comments on commit a3ca5f1

Please sign in to comment.