diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-04-05 16:15:07 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2013-04-05 16:15:07 +0200 |
commit | c86cd58275c1efe62c6dd2f45e9996b077906352 (patch) | |
tree | da7d1e9543e52f8bfae1b19ccbe1c3f580f54b68 /src/gwin/slider.c | |
parent | 4719e96bebb3c98ad746cecc370da35a44d11cbf (diff) | |
download | uGFX-c86cd58275c1efe62c6dd2f45e9996b077906352.tar.gz uGFX-c86cd58275c1efe62c6dd2f45e9996b077906352.tar.bz2 uGFX-c86cd58275c1efe62c6dd2f45e9996b077906352.zip |
slider doc fix
Diffstat (limited to 'src/gwin/slider.c')
-rw-r--r-- | src/gwin/slider.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gwin/slider.c b/src/gwin/slider.c index 034ba6b2..040f7367 100644 --- a/src/gwin/slider.c +++ b/src/gwin/slider.c @@ -74,7 +74,7 @@ static void gwinSliderCallback(void *param, GEvent *pe) { // We are tracking the mouse - // Test for button up + // Test for slider up if ((pme->meta & GMETA_MOUSE_UP)) { gsw->tracking = FALSE; @@ -104,7 +104,7 @@ static void gwinSliderCallback(void *param, GEvent *pe) { } // If mouse down - track movement - if ((pme->current_buttons & GINPUT_MOUSE_BTN_LEFT)) + if ((pme->current_sliders & GINPUT_MOUSE_BTN_LEFT)) trackSliderDraw(gh, pme->x-gh->x, pme->y-gh->y); return; |