diff --git a/examples/component/button.cpp b/examples/component/button.cpp index b336a6e0d2945c863c862c8f47edbdc9790919bc..501dc7e1d46c6e019ba164c78f47597db0ed8b26 100644 --- a/examples/component/button.cpp +++ b/examples/component/button.cpp @@ -34,8 +34,8 @@ int main() { int value = 50; // clang-format off - auto btn_dec_01 = Button("-1", [&] { value += 1; }, Style()); - 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()); auto btn_dec_10 = Button("-10", [&] { value -= 10; }, Style()); auto btn_inc_10 = Button("+10", [&] { value += 10; }, Style()); // clang-format on