plots: fix broken color support

This commit is contained in:
jean-emmanuel 2016-09-13 23:36:56 +02:00
parent 784756e713
commit 07876f6577
4 changed files with 6 additions and 6 deletions

View file

@ -79,7 +79,7 @@ module.exports.create = function(widgetData,container) {
if (!self.visible) {
widget.visible = true
widget.lineColor = getComputedStyle(widget[0]).getPropertyValue('--color-accent')
widget.lineColor = getComputedStyle(widget[0]).getPropertyValue('--color-custom')
}

View file

@ -82,7 +82,7 @@ module.exports.create = function(widgetData,container) {
if (!self.visible) {
widget.visible = true
widget.lineColor = getComputedStyle(widget[0]).getPropertyValue('--color-accent')
widget.lineColor = getComputedStyle(widget[0]).getPropertyValue('--color-custom')
}

View file

@ -58,7 +58,7 @@ module.exports.create = function(widgetData,container) {
if (!self.visible) {
widget.visible = true
widget.lineColor = getComputedStyle(widget[0]).getPropertyValue('--color-accent')
widget.lineColor = getComputedStyle(widget[0]).getPropertyValue('--color-custom')
}
widget.height=height

View file

@ -1771,7 +1771,7 @@ module.exports.create = function(widgetData,container) {
if (!self.visible) {
widget.visible = true
widget.lineColor = getComputedStyle(widget[0]).getPropertyValue('--color-accent')
widget.lineColor = getComputedStyle(widget[0]).getPropertyValue('--color-custom')
}
@ -3140,7 +3140,7 @@ module.exports.create = function(widgetData,container) {
if (!self.visible) {
widget.visible = true
widget.lineColor = getComputedStyle(widget[0]).getPropertyValue('--color-accent')
widget.lineColor = getComputedStyle(widget[0]).getPropertyValue('--color-custom')
}
@ -4089,7 +4089,7 @@ module.exports.create = function(widgetData,container) {
if (!self.visible) {
widget.visible = true
widget.lineColor = getComputedStyle(widget[0]).getPropertyValue('--color-accent')
widget.lineColor = getComputedStyle(widget[0]).getPropertyValue('--color-custom')
}
widget.height=height