Skip to content

Commit

Permalink
Fix scrollbar return
Browse files Browse the repository at this point in the history
  • Loading branch information
talesm committed Jan 3, 2021
1 parent c96945a commit 9c7d649
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion ScrollBar.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ scrollBar(Target target,
*value = *value < max ? *value + 1 : max;
action = true;
}
action = scrollBarSlider(
action |= scrollBarSlider(
g,
"bar",
value,
Expand Down
2 changes: 1 addition & 1 deletion dui_single.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2698,7 +2698,7 @@ scrollBar(Target target,
*value = *value < max ? *value + 1 : max;
action = true;
}
action = scrollBarSlider(
action |= scrollBarSlider(
g,
"bar",
value,
Expand Down

0 comments on commit 9c7d649

Please sign in to comment.