Clang-format fixes

This commit is contained in:
Michael Davidson 2024-01-06 12:11:27 +11:00
parent ee77485a2d
commit 00169c7633
No known key found for this signature in database
GPG Key ID: B8D1A99712B8B0EB

View File

@ -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_);