Object pool, correct merging of zones

This commit is contained in:
Daniel Imms
2022-04-01 06:25:55 -07:00
parent 6b26a1bcf8
commit d072a628ca
3 changed files with 34 additions and 12 deletions
+2 -2
View File
@@ -556,8 +556,8 @@ function loadTest() {
function addDecoration() {
term.options['overviewRulerWidth'] = 15;
const marker = term.addMarker(1);
const decoration = term.registerDecoration({ marker, overviewRulerOptions: { color: '#ef2929'} });
decoration.onRender((e) => e.style.backgroundColor = '#ef2929');
const decoration = term.registerDecoration({ marker, overviewRulerOptions: { color: '#ef292980', position: 'left' } });
decoration.onRender((e) => e.style.backgroundColor = '#ef292980');
}
function addOverviewRuler() {