Update fog edit pattern opacity for new shading method
This commit is contained in:
parent
27c68b499d
commit
f5ccbe8f8f
@ -490,11 +490,7 @@ function MapFog({
|
||||
const holes =
|
||||
shape.data.holes &&
|
||||
shape.data.holes.map((hole) => hole.reduce(reducePoints, []));
|
||||
const opacity = editable
|
||||
? !shape.visible
|
||||
? editOpacity / 2
|
||||
: editOpacity
|
||||
: 1;
|
||||
const opacity = editable ? editOpacity : 1;
|
||||
// Control opacity only on fill as using opacity with stroke leads to performance issues
|
||||
const fill = new Color(colors[shape.color] || shape.color)
|
||||
.alpha(opacity)
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 860 B After Width: | Height: | Size: 802 B |
Loading…
Reference in New Issue
Block a user