From 9c1df45589764861bcb4fe05c6a6bc300febb592 Mon Sep 17 00:00:00 2001 From: Paul Marbach Date: Wed, 17 Dec 2025 09:11:49 -0500 Subject: [PATCH] set opacity to 0.5 for dots --- .../src/components/RadialGauge/RadialArcPath.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/grafana-ui/src/components/RadialGauge/RadialArcPath.tsx b/packages/grafana-ui/src/components/RadialGauge/RadialArcPath.tsx index d89ec94cc58..2afd63a0777 100644 --- a/packages/grafana-ui/src/components/RadialGauge/RadialArcPath.tsx +++ b/packages/grafana-ui/src/components/RadialGauge/RadialArcPath.tsx @@ -29,6 +29,7 @@ interface RadialArcPathPropsWithGuideDot extends RadialArcPathPropsBase { type RadialArcPathProps = RadialArcPathPropsBase | RadialArcPathPropsWithGuideDot; +const DOT_OPACITY = 0.5; const DOT_RADIUS_FACTOR = 0.4; const MAX_DOT_RADIUS = 8; @@ -102,8 +103,10 @@ export const RadialArcPath = memo( {endpointColors && } - {guideDotColors && arcLengthDeg > 5 && } - {guideDotColors && } + {guideDotColors && arcLengthDeg > 5 && ( + + )} + {guideDotColors && } ); }