Skip to content

Commit

Permalink
Fix canvaslinevaluewidget with 0 value
Browse files Browse the repository at this point in the history
  • Loading branch information
jmthomas committed Sep 27, 2023
1 parent 30aecb6 commit 2237e57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default {
calcStyle() {
let color = 'black'
if (this.screen) {
if (this.screen.screenValues[this.valueId][0]) {
if (this.screen.screenValues[this.valueId]) {
color = this.valueMap[this.screen.screenValues[this.valueId][0]]
}
}
Expand Down

0 comments on commit 2237e57

Please sign in to comment.