Merge pull request #51805 from skysphr/scrollbar-icons-pressed

Added increment_pressed and decrement_pressed icons to scrollbars
This commit is contained in:
Hugo Locurcio 2021-09-13 14:57:21 +02:00 committed by GitHub
commit f85426e8ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 47 additions and 2 deletions

View file

@ -51,6 +51,9 @@ class ScrollBar : public Range {
HighlightStatus highlight = HIGHLIGHT_NONE;
bool incr_active = false;
bool decr_active = false;
struct Drag {
bool active = false;
float pos_at_click = 0.0;