Skip to content

Commit

Permalink
Clock Widget: Add layout scaling through onRender (#2295)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenpingol-xibo committed Jan 10, 2024
1 parent fa3838a commit 61ff4e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/clock-digital.xml
Expand Up @@ -114,6 +114,9 @@ if (typeof updateClock === 'function') {
setInterval(updateClock, 1000);
}
]]></onVisible>
<onRender><![CDATA[
$('body').xiboLayoutScaler(properties);
]]></onRender>
<assets>
<asset id="clock-digital-thumb" type="path" cmsOnly="true" mimeType="image/png" path="/modules/assets/template-thumbnails/clock/clock-digital-thumb.png" />
</assets>
Expand Down

0 comments on commit 61ff4e8

Please sign in to comment.