better handling of breaking connection

This commit is contained in:
Alexander Bentkamp
2023-10-31 15:34:54 +01:00
parent 918151ade5
commit 7e0b82cb14
2 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -615,7 +615,7 @@ function useLevelEditor(codeviewRef, initialCode, initialSelections, onDidChange
return () => {
editorConnection.api.sendClientNotification(uriStr, "textDocument/didClose", {textDocument: {uri: uriStr}})
model.dispose(); }
}
}
}, [editor, levelId, connection, leanClientStarted])
-6
View File
@@ -42,12 +42,6 @@ body {
border-radius: .3em;
}
/* Hide monaco editor notifications */
.monaco-workbench > .notifications-toasts.visible {
display: none !important;
}
.loading {
margin: auto;
height: 100%;