diff --git a/CMakeLists.txt b/CMakeLists.txt index b72f1f4..fcb858c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.3) -project(dui VERSION 0.2) +project(dui VERSION 0.2.1) add_definitions(-Wall -pedantic) diff --git a/ScrollBar.hpp b/ScrollBar.hpp index 918c13b..7a0819f 100644 --- a/ScrollBar.hpp +++ b/ScrollBar.hpp @@ -72,7 +72,7 @@ scrollBar(Target target, *value = *value < max ? *value + 1 : max; action = true; } - action = scrollBarSlider( + action |= scrollBarSlider( g, "bar", value, diff --git a/dui_single.hpp b/dui_single.hpp index e9c281e..ec44543 100644 --- a/dui_single.hpp +++ b/dui_single.hpp @@ -2698,7 +2698,7 @@ scrollBar(Target target, *value = *value < max ? *value + 1 : max; action = true; } - action = scrollBarSlider( + action |= scrollBarSlider( g, "bar", value,