Skip to content

BTRControl does not respond properly to combined control states #11

@jwilling

Description

@jwilling

Setting an image for flags: (BTRControlStateHighlighted | BTRControlStateSelected)

does not work properly when highlighted.


I'm unsure about how the logic should be handled here. If we're saying that we only want the image to be set for those flags, then it's doing it correctly. The image will only be shown when both of those flags are matched.

However, if we're looking at it another way where we show the image on both highlighted and selected states, then currently we're doing it wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions