mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-16 08:04:21 +08:00
Example: fix small flaw in example/button.cpp (#751)
This commit is contained in:
@@ -43,7 +43,7 @@ int main() {
|
||||
}) | flex,
|
||||
Container::Horizontal({
|
||||
Button("-10", [&] { value -= 10; }, ButtonStyle()),
|
||||
Button("-10", [&] { value += 10; }, ButtonStyle()),
|
||||
Button("+10", [&] { value += 10; }, ButtonStyle()),
|
||||
}) | flex,
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user