We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 853d87e commit f5785fdCopy full SHA for f5785fd
examples/component/button.cpp
@@ -34,8 +34,8 @@ int main() {
34
int value = 50;
35
36
// clang-format off
37
- auto btn_dec_01 = Button("-1", [&] { value += 1; }, Style());
38
- auto btn_inc_01 = Button("+1", [&] { value -= 1; }, Style());
+ auto btn_dec_01 = Button("-1", [&] { value -= 1; }, Style());
+ auto btn_inc_01 = Button("+1", [&] { value += 1; }, Style());
39
auto btn_dec_10 = Button("-10", [&] { value -= 10; }, Style());
40
auto btn_inc_10 = Button("+10", [&] { value += 10; }, Style());
41
// clang-format on
0 commit comments