mirror of
https://github.com/esphome/esphome.git
synced 2024-12-12 08:24:55 +01:00
Clang-tidy fixes
This commit is contained in:
parent
00169c7633
commit
87e98e0e13
1 changed files with 0 additions and 2 deletions
|
@ -134,10 +134,8 @@ void TextRunPanel::apply_alignment_to_lines_(std::vector<std::shared_ptr<LineInf
|
|||
const auto y_align = display::TextAlign(int(this->text_align_) & TEXT_ALIGN_Y_MASK);
|
||||
|
||||
int16_t max_line_width = 0;
|
||||
int16_t total_height = 0;
|
||||
for (const auto &line : lines) {
|
||||
max_line_width = std::max(line->total_width, max_line_width);
|
||||
total_height += line->max_height;
|
||||
}
|
||||
|
||||
int total_y_adjustment = 0;
|
||||
|
|
Loading…
Reference in a new issue