From 84debba10cec8e077fd890cf5f61a45af3e3b6d4 Mon Sep 17 00:00:00 2001 From: Arthur Sonzogni Date: Tue, 18 May 2021 17:53:58 +0200 Subject: [PATCH] Fix button example. (#102) --- examples/component/button.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/component/button.cpp b/examples/component/button.cpp index 5d4f11e..5bc7852 100644 --- a/examples/component/button.cpp +++ b/examples/component/button.cpp @@ -14,8 +14,8 @@ int main(int argc, const char* argv[]) { // The tree of components. This defines how to navigate using the keyboard. auto buttons = Container::Horizontal({ - Button("[Decrease]", [&] { value--; }, false), - Button("[Increase]", [&] { value++; }, false), + Button("Decrease", [&] { value--; }), + Button("Increase", [&] { value++; }), }); // Modify the way to render them on screen: