Skip to content
Snippets Groups Projects
Unverified Commit 20d4be28 authored by Contexploit's avatar Contexploit Committed by GitHub
Browse files

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

parent 550a59f0
No related branches found
No related tags found
No related merge requests found
......@@ -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,
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment