Merge pull request 'Update color' (#5) from that into main

Reviewed-on: #5
This commit is contained in:
andrew.ng 2025-03-11 19:59:19 +11:00
commit 3c9dfa427b
1 changed files with 1 additions and 1 deletions

View File

@ -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";