From 8453a1846632847af17b649c9e377e7ec914e479 Mon Sep 17 00:00:00 2001 From: nguentrungthat Date: Tue, 11 Mar 2025 15:58:59 +0700 Subject: [PATCH] Update color --- src/pages/components/PointsBlur.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/components/PointsBlur.js b/src/pages/components/PointsBlur.js index 011cfd1..75668ec 100755 --- a/src/pages/components/PointsBlur.js +++ b/src/pages/components/PointsBlur.js @@ -225,7 +225,7 @@ const PointBlurImageComponent = ({ imageSrc, blurredRegions, loaded, setLoaded, const buttonY = Math.min(region[0].y, region[1].y, region[2].y, region[3].y) - 20; ctx.save(); - ctx.fillStyle = isSelected ? "rgb(196, 194, 61)" : "rgb(2, 101, 182)"; + ctx.fillStyle = isSelected ? "rgb(196, 194, 61, 0.5)" : "rgb(2, 101, 182, 0.5)"; ctx.fillRect(buttonX - 30, buttonY - 10, Math.max(region[0]?.label?.length * 6 + 20, region[0]?.subLabel?.length * 5 + 10), 25); ctx.fillStyle = "rgb(255, 255, 255)"; ctx.font = "9px Arial";