mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-18 00:48:09 +08:00
Execute clang-tidy and IWYU. (#576)
This commit is contained in:
@@ -27,7 +27,7 @@ Element vscroll_indicator(Element child) {
|
||||
}
|
||||
|
||||
void SetBox(Box box) override {
|
||||
Node::SetBox(box);
|
||||
box_ = box;
|
||||
box.x_max--;
|
||||
children_[0]->SetBox(box);
|
||||
}
|
||||
|
@@ -109,7 +109,7 @@ namespace {
|
||||
Element MakeHorizontalFlexboxList(int n) {
|
||||
Elements list;
|
||||
for (int i = 0; i < n; ++i) {
|
||||
list.push_back(text(std::to_string(i%10)));
|
||||
list.push_back(text(std::to_string(i % 10)));
|
||||
}
|
||||
return flexbox(std::move(list)) | vscroll_indicator | yframe | border;
|
||||
}
|
||||
@@ -194,7 +194,7 @@ TEST(ScrollIndicator, HorizontalFlexbox) {
|
||||
"╰────╯");
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace
|
||||
|
||||
} // namespace ftxui
|
||||
|
||||
|
Reference in New Issue
Block a user