Example: fix small flaw in example/button.cpp (#751)

This commit is contained in:
Contexploit
2023-09-21 00:23:05 +08:00
committed by GitHub
parent 550a59f0a5
commit 20d4be286b

View File

@@ -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,
});