diff options
Diffstat (limited to '')
-rw-r--r-- | gui/slider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/slider.cpp b/gui/slider.cpp index 692676561..98d2ddea3 100644 --- a/gui/slider.cpp +++ b/gui/slider.cpp @@ -134,7 +134,7 @@ int GUISlider::NotifyTouch(TOUCH_STATE state, int x, int y) switch (state) { case TOUCH_START: - if (x >= mRenderX && x <= mRenderX + sTouchW && + if (x >= mRenderX && x <= mRenderX + sTouchW && y >= mRenderY && y <= mRenderY + mRenderH) { sCurTouchX = x - (sTouchW / 2); |