[graph] Fix legend border (#12000)

This commit is contained in:
Jonathan Swoboda
2025-11-24 16:24:37 -05:00
parent 625172e07d
commit fbe091f167
+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);