mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 12:06:26 +01:00
Clang-format fixes
This commit is contained in:
parent
ee77485a2d
commit
00169c7633
@ -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 New Issue
Block a user