sets marker-opacity as preliminary global opacity value
This commit is contained in:
parent
6232e16002
commit
f63b037d0e
@ -23,7 +23,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// stroke
|
// stroke
|
||||||
ctx.globalAlpha = 1.0;
|
ctx.globalAlpha = st['marker-opacity'] >=0 ? st['marker-opacity']: 1;
|
||||||
if (st['marker-line-color'] && st['marker-line-width'] && st['marker-line-width'] > LINEWIDTH_MIN_VALUE) {
|
if (st['marker-line-color'] && st['marker-line-width'] && st['marker-line-width'] > LINEWIDTH_MIN_VALUE) {
|
||||||
if (st['marker-line-opacity'] !== undefined) {
|
if (st['marker-line-opacity'] !== undefined) {
|
||||||
ctx.globalAlpha = st['marker-line-opacity'];
|
ctx.globalAlpha = st['marker-line-opacity'];
|
||||||
|
Loading…
Reference in New Issue
Block a user