Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Change color of brush #1700

Open
SlavenSoldo opened this issue Feb 16, 2024 · 1 comment
Open

Change color of brush #1700

SlavenSoldo opened this issue Feb 16, 2024 · 1 comment

Comments

@SlavenSoldo
Copy link

Hi, I'm trying to change the color of the brush annotation.
image
Here I add annotation(mask) in the task in annotation.
image
And I got the correct thing displaying when Label Studio is loaded.
image
But I want to change the color of that brush. I changed it when we added a new one and it is green, but I can't find a solution how to change the color of the mask that is loaded from DB.

Does anyone know how to solve this situation?

@makseq
Copy link
Member

makseq commented Feb 19, 2024

Hi, why don't you want to use something like this:

  <BrushLabels name="tag" toName="image">
    <Label value="Planet" background="rgba(0, 0, 255, 0.7)"/>
    <Label value="Moonwalker" background="rgba(255, 0, 0, 0.7)"/>
  </BrushLabels>

?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants