Fix 78aed0d
This commit is contained in:
parent
78aed0d9bf
commit
9235982f70
@ -89,9 +89,9 @@ func (self *Sparklines) Draw(buf *Buffer) {
|
|||||||
"invalid sparkline data value. index: %v, percent: %v, curItem: %v, offset: %v",
|
"invalid sparkline data value. index: %v, percent: %v, curItem: %v, offset: %v",
|
||||||
index, percent, curItem, offset,
|
index, percent, curItem, offset,
|
||||||
)
|
)
|
||||||
continue
|
} else {
|
||||||
|
char = BARS[index]
|
||||||
}
|
}
|
||||||
char = BARS[index]
|
|
||||||
}
|
}
|
||||||
buf.SetCell(
|
buf.SetCell(
|
||||||
NewCell(char, NewStyle(line.LineColor)),
|
NewCell(char, NewStyle(line.LineColor)),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user