Skip to content

Commit

Permalink
Flip Clock Widget: Shadow appears behind Clock Widget when using RGBA…
Browse files Browse the repository at this point in the history
… color (#2751)

relates to xibosignage/xibo#3506
  • Loading branch information
maurofmferrao authored Sep 30, 2024
1 parent 1914bcc commit 96e11a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/clock-flip.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<title>Flip Card Text Colour</title>
<default>#ccc</default>
</property>
<property id="flipCardBackgroundColor" type="color">
<property id="flipCardBackgroundColor" type="color" format="hex">
<title>Flip Card Background Colour</title>
<default>#333</default>
</property>
Expand Down
8 changes: 8 additions & 0 deletions ui/src/core/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,14 @@ window.forms = {
property.playlistId = playlistId;
}

// Colour format
if (
property.type === 'color' &&
property.format != ''
) {
property.colorFormat = property.format;
}

// dashboards available services
if (property.type === 'connectorProperties') {
property.connectorPropertiesUrl =
Expand Down

0 comments on commit 96e11a0

Please sign in to comment.