mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-26 04:31:34 +08:00
Example: fix small flaw in example/button.cpp (#751)
This commit is contained in:
parent
550a59f0a5
commit
20d4be286b
@ -43,7 +43,7 @@ int main() {
|
|||||||
}) | flex,
|
}) | flex,
|
||||||
Container::Horizontal({
|
Container::Horizontal({
|
||||||
Button("-10", [&] { value -= 10; }, ButtonStyle()),
|
Button("-10", [&] { value -= 10; }, ButtonStyle()),
|
||||||
Button("-10", [&] { value += 10; }, ButtonStyle()),
|
Button("+10", [&] { value += 10; }, ButtonStyle()),
|
||||||
}) | flex,
|
}) | flex,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user