This commit is contained in:
meganrogge
2022-03-16 13:40:06 -04:00
parent e293d29fd3
commit a4212e98d2
2 changed files with 1 additions and 6 deletions
+1 -5
View File
@@ -548,11 +548,7 @@ function addDecoration() {
term.options['overviewRulerWidth'] = 15;
const marker = term.addMarker(1);
const decoration = term.registerDecoration({ marker, overviewRulerOptions: { color: '#ef2929'} });
decoration.onRender((e) => {
if (e.classList.value === 'xterm-decoration') {
e.style.backgroundColor = '#ef2929';
}
});
decoration.onRender((e) => e.style.backgroundColor = '#ef2929');
}
function addOverviewRuler() {