Skip to content

ASoC: Use switch case for checking the type of Color #35

@Delta456

Description

@Delta456

There are a lot of if conditions for checking the type of Color which makes it very hard to read and debug. A switch case will improve readability and help to debug much better.

For example box.go#L192 is long, and with a switch case, it can be done much more efficiently.

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