Skip to content
This repository was archived by the owner on Jul 16, 2020. It is now read-only.
This repository was archived by the owner on Jul 16, 2020. It is now read-only.

Setting control background image doesn't change button #103

@mscherotter

Description

@mscherotter

Setting the background image of a button is not changing the button. Should I need to do anything else 3esides calling the method?
auto result = ::interactive_control_set_property_string(_session, "Image1", "backgroundImage", "https://...");

Here is the debug trace : the result is MIXER_OK

Queueing method: {"id":7,"method":"updateControls","discard":true,"seq":10,"params":{"sceneID":"default","controls":[{"controlID":"Image1","backgroundImage":"https://tse3.mm.bing.net/th?id=OIP.6RGX1DlxvqSevMPOWizDSAHaJ6&pid=Api"}]}}
Sending websocket message: {"id":7,"method":"updateControls","discard":true,"seq":10,"params":{"sceneID":"default","controls":[{"controlID":"Image1","backgroundImage":"https://tse3.mm.bing.net/th?id=OIP.6RGX1DlxvqSevMPOWizDSAHaJ6&pid=Api"}]}}
Websocket message received: {"type":"method","method":"onControlUpdate","params":{"sceneID":"default","controls":[{"controlID":"Image1","kind":"button","etag":"","disabled":false,"cooldown":0,"cost":0,"backgroundColor":"#240be2","borderColor":"#f73e3e","meta":{},"position":[{"size":"large","width":17,"height":10,"x":25,"y":6}],"text":"Image1","backgroundImage":"https://tse3.mm.bing.net/th?id=OIP.6RGX1DlxvqSevMPOWizDSAHaJ6&pid=Api"}]},"id":0,"seq":12,"discard":true}

Thanks,
Michael

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