mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-12-16 01:48:56 +08:00
Execute clang tidy and IWYU (#528)
This commit is contained in:
committed by
ArthurSonzogni
parent
4dc1a9fff9
commit
0542227ba7
@@ -27,7 +27,7 @@ class Text : public Node {
|
||||
|
||||
void Render(Screen& screen) override {
|
||||
int x = box_.x_min;
|
||||
int y = box_.y_min;
|
||||
const int y = box_.y_min;
|
||||
if (y > box_.y_max) {
|
||||
return;
|
||||
}
|
||||
@@ -55,7 +55,7 @@ class VText : public Node {
|
||||
}
|
||||
|
||||
void Render(Screen& screen) override {
|
||||
int x = box_.x_min;
|
||||
const int x = box_.x_min;
|
||||
int y = box_.y_min;
|
||||
if (x + width_ - 1 > box_.x_max) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user