Skip to content

Commit 86f819a

Browse files
committed
clean: remove unnecessary code
1 parent 9ba120e commit 86f819a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/monaco.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ StandaloneServices.initialize({
4545
...getSnippetConfigurationServiceOverride(),
4646
...getLanguagesServiceOverride()
4747
})
48-
// Disable high contrast autodetection because it fallbacks on the hc-black no matter what
49-
setTimeout(() => {
50-
// In a timeout so the service can be overriden
51-
monaco.extra.StandaloneServices.get(monaco.editor.IStandaloneThemeService).setAutoDetectHighContrast(false)
52-
})
5348

5449
errorHandler.setUnexpectedErrorHandler(error => {
5550
console.warn('Unexpected error', error)

0 commit comments

Comments
 (0)