From 5fb70416985252d8a5eb35f0256dd9fa740ce1b4 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Mon, 22 Feb 2021 19:58:46 +1100 Subject: [PATCH] Fix fog fill pattern with fog preview --- src/components/map/MapFog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/map/MapFog.js b/src/components/map/MapFog.js index adeda49..41230fd 100644 --- a/src/components/map/MapFog.js +++ b/src/components/map/MapFog.js @@ -501,7 +501,7 @@ function MapFog({ strokeWidth={gridStrokeWidth * shape.strokeWidth} opacity={editable ? (!shape.visible ? 0.2 : 0.5) : 1} fillPatternImage={patternImage} - fillPriority={active && !shape.visible ? "pattern" : "color"} + fillPriority={editable && !shape.visible ? "pattern" : "color"} holes={holes} // Disable collision if the fog is transparent and we're not editing it // This allows tokens to be moved under the fog