getmusicbee.com

Support => Developers' Area => TheaterMode => Topic started by: hiccup on September 10, 2021, 04:19:30 PM

Title: player control icons not refreshing properly
Post by: hiccup on September 10, 2021, 04:19:30 PM
I have been noticing that the player controls don't (always) seem to refresh properly.
(I haven't tested this with other toggle buttons yet)

At the bottom the regular player panel, the black panel is the embedded theatre mode:

(https://i.imgur.com/tVDc4Cm.gif)

Maybe I am doing something wrong?
But the xml I am testing this with is very simple:

Code
<?xml version="1.0" encoding="utf-8"?>
<root>

<element type="Icon" image="pause.png" xAnchor="Panel.Right" x="-100" yAnchor="Panel.Bottom" y="-50" width="30" height="30" onClick="PlayPause" visibleTrigger="Playing"></element>
<element type="Icon" image="play.png" xAnchor="Panel.Right" x="-100" yAnchor="Panel.Bottom" y="-50" width="30" height="30" onClick="PlayPause" visibleTrigger="NotPlaying"></element>

</root>