Skip to content

Commit

Permalink
drop: add test commit for dot decorations
Browse files Browse the repository at this point in the history
The following commit should be dropped, and is used only as a test
example for dot decorations. The change is to verify if multiple
`tailDecorations` are "merged" when a composite node is present, meaning
there is no duplicate rendering of dot decorations.

Signed-off-by: vince-fugnitto <[email protected]>
  • Loading branch information
vince-fugnitto committed May 13, 2021
1 parent f312f07 commit ea23664
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/markers/src/browser/problem/problem-decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ export class ProblemDecorator implements TreeDecorator {
fontData: {
color,
},
tailDecorations: [
{
data: '1', // data for test purposes.
color
}
],
iconOverlay: {
position,
icon,
Expand Down

0 comments on commit ea23664

Please sign in to comment.