mirror of
https://github.com/Tencent/QMUI_Android.git
synced 2026-10-29 11:37:07 +08:00
bugfix: pressed.
This commit is contained in:
@@ -647,9 +647,8 @@ public class QMUISlider extends FrameLayout implements IQMUISkinDefaultAttrProvi
|
||||
mIsMoving = true;
|
||||
int oldProgress = mCurrentProgress;
|
||||
checkTouch(mLastTouchX, getMaxThumbOffset());
|
||||
if (mIsThumbTouched) {
|
||||
mThumbView.setPress(true);
|
||||
}
|
||||
mIsThumbTouched = true;
|
||||
mThumbView.setPress(true);
|
||||
if (mCallback != null && oldProgress != mCurrentProgress) {
|
||||
mCallback.onLongTouch(QMUISlider.this, mCurrentProgress, mTickCount);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user