Skip to content

Issue adjusting value of ColorPicker object through callback #159

Closed
@TCherici

Description

@TCherici

When trying to set the rgb values of a ColorPicker object through a callback in python, the result is always off.

For example, if I try to set its value to {'rgb': {'r': 255, 'g': 242, 'b': 229, 'a': 1}}, it gets assigned the following values instead:
image

The g and b values are swapped, and the r value is set to 1. No clue why that happens.

I haven't yet fully figured out the cause of the issue, but I reckon it has something to do with the ColorPicker javascript object having its color attribute being (erroneously?) named rbg instead of rgb.

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