diff options
Diffstat (limited to 'gui/slider.cpp')
-rw-r--r-- | gui/slider.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/slider.cpp b/gui/slider.cpp index b46d156f6..af0c542de 100644 --- a/gui/slider.cpp +++ b/gui/slider.cpp @@ -15,6 +15,7 @@ #include <time.h> #include <unistd.h> #include <stdlib.h> +#include "../data.hpp" #include <string> @@ -156,8 +157,10 @@ int GUISlider::NotifyTouch(TOUCH_STATE state, int x, int y) if (!dragging) return 0; - if (sCurTouchX >= mRenderX + mRenderW - sTouchW) + if (sCurTouchX >= mRenderX + mRenderW - sTouchW) { + DataManager::Vibrate("tw_button_vibrate"); sAction->doActions(); + } sCurTouchX = mRenderX; dragging = false; |