From e30fdf9cdff534b96dbadd271808a4b3fb513bbc Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Thu, 7 Nov 2024 17:32:50 -0500 Subject: [PATCH] feat(segmentGroups): default to .3 fill opacity --- src/composables/useSegmentGroupConfigInitializer.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/composables/useSegmentGroupConfigInitializer.ts b/src/composables/useSegmentGroupConfigInitializer.ts index 7e514504..c53a1e95 100644 --- a/src/composables/useSegmentGroupConfigInitializer.ts +++ b/src/composables/useSegmentGroupConfigInitializer.ts @@ -18,6 +18,9 @@ function useLayerConfigInitializerForSegmentGroups( const viewIdVal = unref(viewId); const layerIdVal = unref(layerId); coloringStore.initConfig(viewIdVal, layerIdVal); // initConfig instead of resetColorPreset for layers + coloringStore.updateBlendConfig(viewIdVal, layerIdVal, { + opacity: 0.3, + }); }); }