Address @tusharpm comments. (#178)

@tusharpm let two comments in:
https://github.com/ArthurSonzogni/FTXUI/pull/175
but this already landed in:
https://github.com/ArthurSonzogni/FTXUI/pull/173

Address them here.
This commit is contained in:
Arthur Sonzogni 2021-08-08 08:49:46 +02:00 committed by GitHub
parent d197e2f4fb
commit 1ff894f6f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -4,10 +4,10 @@
namespace ftxui {
struct Box {
int x_min;
int x_max;
int y_min;
int y_max;
int x_min = 0;
int x_max = 0;
int y_min = 0;
int y_max = 0;
static Box Intersection(Box a, Box b);
bool Contain(int x, int y);

View File

@ -75,7 +75,7 @@ Component Renderer(Component child, std::function<Element()> render) {
/// if (focused)
/// return text("My interface") | inverted;
/// else
/// return text("My interface") | inverted;
/// return text("My interface");
/// });
/// screen.Loop(renderer);
/// ```