adding compact option to fader (wip)

This commit is contained in:
jean-emmanuel 2016-04-03 18:40:33 +02:00
parent 8f36debf99
commit 11a1d5a5ab
4 changed files with 77 additions and 2 deletions

View file

@ -19,6 +19,7 @@ module.exports.options = {
align:'center',
horizontal:false,
noPip:false,
compact:false,
color:'auto',
css:'',
@ -70,6 +71,7 @@ module.exports.create = function(widgetData,container) {
}
if (widgetData.noPip) wrapper.addClass('no-pip')
if (widgetData.compact) container.addClass('compact')
gauge.size = 0
fader.size = 0

View file

@ -1719,6 +1719,7 @@ module.exports.options = {
align:'center',
horizontal:false,
noPip:false,
compact:false,
color:'auto',
css:'',
@ -1770,6 +1771,7 @@ module.exports.create = function(widgetData,container) {
}
if (widgetData.noPip) wrapper.addClass('no-pip')
if (widgetData.compact) container.addClass('compact')
gauge.size = 0
fader.size = 0