mirror of
https://github.com/esphome/esphome.git
synced 2024-12-12 08:24:55 +01:00
Clang-format fixes
This commit is contained in:
parent
ee77485a2d
commit
00169c7633
1 changed files with 3 additions and 2 deletions
|
@ -192,7 +192,8 @@ void TextRunPanel::apply_alignment_to_lines_(std::vector<std::shared_ptr<LineInf
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CalculatedLayout TextRunPanel::determine_layout_(display::Display *display, display::Rect bounds, bool apply_alignment) {
|
CalculatedLayout TextRunPanel::determine_layout_(display::Display *display, display::Rect bounds,
|
||||||
|
bool apply_alignment) {
|
||||||
std::vector<std::shared_ptr<CalculatedTextRun>> runs = this->split_runs_into_words_();
|
std::vector<std::shared_ptr<CalculatedTextRun>> runs = this->split_runs_into_words_();
|
||||||
std::vector<std::shared_ptr<LineInfo>> lines = this->fit_words_to_bounds_(runs, bounds);
|
std::vector<std::shared_ptr<LineInfo>> lines = this->fit_words_to_bounds_(runs, bounds);
|
||||||
this->apply_alignment_to_lines_(lines, this->text_align_);
|
this->apply_alignment_to_lines_(lines, this->text_align_);
|
||||||
|
|
Loading…
Reference in a new issue