Skip to content

Commit abe3f72

Browse files
authored
Merge pull request #69 from napakalas/issue-#68
Set nerve cuff background color to green and opacity to 1.0 (#68)
2 parents 96183d5 + ba5da18 commit abe3f72

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/layers/styling.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ export class NervePolygonFill extends VectorStyleLayer
11201120
['==', ['get', 'kind'], 'bezier-end'], 'red',
11211121
['==', ['get', 'kind'], 'bezier-control'], 'green',
11221122
// @ts-expect-error 2322
1123-
...PATH_STYLE_RULES, 'white'
1123+
...PATH_STYLE_RULES, '#A5F160'
11241124
]
11251125
],
11261126
'fill-opacity': [
@@ -1133,7 +1133,7 @@ export class NervePolygonFill extends VectorStyleLayer
11331133
['==', ['get', 'type'], 'arrow'],
11341134
['==', ['get', 'type'], 'junction']
11351135
], dimmed ? 0.1 : 0.5,
1136-
0.01
1136+
1.0
11371137
]
11381138
}
11391139
return super.changedPaintStyle(paintStyle, changes)

0 commit comments

Comments
 (0)