Skip to content

Different roi colors in webGL #474

Open
@N-HEDGER

Description

@N-HEDGER

Hi there,

As illustrated in the documentation is straightforward to give different ROIs different colors in quickflat mode, as shown below

Full_brain_creatures

However, I am unable to replicate this behavior in webGL mode. No matter the color of the path in the svg, it always appears white in the webGL viewer.

Interestingly, adding a colored rectangle (but not path) in the cutouts folder appears to respect the path color (shown in black).

Screenshot 2023-01-03 at 16 19 55

After having read through what I think are the relevant parts of code. I am scratching my head as to why colors are respected in webGL mode for rectangles but not for paths/rois. Could anyone shed any light on how different roi colors could be achieved in webGL mode?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions