Skip to content

[BUG] New graphics don't work with CSS colors #4352

Description

@dnmeid

Make sure you're on the latest stable or beta build

  • I have tested this on the latest stable or beta release

Is this a bug in companion itself or a module?

  • I believe this to be a bug in companion and not a specific module

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Since version 1.6.0 of the base module we support CSS color strings as color values.
They seem to be broken with the graphics overhaul.
Elements using a CSS string are not rendered correctly and when switching a color option to expression mode a CSS string is not accepted.

Steps To Reproduce

No response

Expected Behavior

Should work with CSS strings.

Environment (please complete the following information)

- Companion Version: 5.0.2
- OS: any
- Browser: any

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGSomething isn't workingarea/graphicsButton drawing

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions