Skip to content

Registered decorations onRender can fire event containing the overview-ruler element #3686

@Tyriar

Description

@Tyriar

I added this code to VS Code:

		const decoration = this._terminal.registerDecoration({
			marker
		});
		if (decoration) {
			decoration.onRender(element => {
				console.log('element', element);
				element.style.backgroundColor = 'yellow';
			});
			timeout(2000).then(() => decoration.dispose());
		}

And I see a yellow scroll bar:

image

And these logs:

image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions