Skip to content

Make highlighted items more visible #50

Open
@elliottslaughter

Description

@elliottslaughter

Right now we color highlighted items in red. This is not very visible because the colors picked by the profiler backend tend to be similar, so it's not obvious what is highlighted and what is just naturally red.

There are a couple ways to deal with this but the one I suggested most recently to @lightsighter was to draw the highlight with some sort of cross-hatch pattern, so that (a) it is clearly different from everything else on the screen, no matter what color those are, and (b) hopefully it is highly visible.

I'm not 100% sure how to do that with the primitives we have available, but one option might be to draw a texture over the rectangle we're trying to highlight.

Another request by @lightsighter is to highlight only the portion of the item that was clicked. This is a bit tricky because when you click "Zoom to Item", there isn't a specific segment that is indicated. Therefore, we'll have to be careful about how we do this to maintain a distinction between the item itself and any particular segment of it.

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