Skip to content

Commit 177a4dc

Browse files
author
Akos Kitta
committed
Fix: code selection overlays error decoration.
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
1 parent 4f486cb commit 177a4dc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

arduino-ide-extension/src/browser/contributions/compiler-errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ export class CompilerErrors
300300
range,
301301
options: {
302302
isWholeLine: true,
303-
className: 'core-error',
303+
className: 'compiler-error',
304304
stickiness: TrackedRangeStickiness.AlwaysGrowsWhenTypingAtEdges,
305305
},
306306
};

arduino-ide-extension/src/browser/style/editor.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
background-color: #d6ebff;
1010
}
1111

12-
.core-error {
12+
.monaco-editor .view-overlays .compiler-error {
1313
background-color: var(--theia-inputValidation-errorBackground);
14-
}
14+
opacity: 0.4 !important;
15+
}

0 commit comments

Comments
 (0)