[graph] Fix legend border (#12000)

This commit is contained in:
Jonathan Swoboda
2025-11-20 13:09:22 +13:00
committed by GitHub
parent bbd6d019e5
commit 4398fd84d2
+1 -1
View File
@@ -337,7 +337,7 @@ void Graph::draw_legend(display::Display *buff, uint16_t x_offset, uint16_t y_of
return;
/// Plot border
if (this->border_) {
if (legend_->border_) {
int w = legend_->width_;
int h = legend_->height_;
buff->horizontal_line(x_offset, y_offset, w, color);