plots: fix broken color support
This commit is contained in:
parent
784756e713
commit
07876f6577
4 changed files with 6 additions and 6 deletions
|
|
@ -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')
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue