|
|
@ -517,8 +517,7 @@ class SimulationPageDelegate(pageView: PageView) : HorizontalPageDelegate(pageVi |
|
|
|
} |
|
|
|
} |
|
|
|
mBezierStart1.x = mBezierControl1.x - (mCornerX - mBezierControl1.x) / 2 |
|
|
|
mBezierStart1.x = mBezierControl1.x - (mCornerX - mBezierControl1.x) / 2 |
|
|
|
mBezierStart1.y = mCornerY.toFloat() |
|
|
|
mBezierStart1.y = mCornerY.toFloat() |
|
|
|
// 当mBezierStart1.x < 0或者mBezierStart1.x > 480时 |
|
|
|
//固定左边上下两个点 |
|
|
|
// 如果继续翻页,会出现BUG故在此限制 |
|
|
|
|
|
|
|
if (mTouchX > 0 && mTouchX < viewWidth) { |
|
|
|
if (mTouchX > 0 && mTouchX < viewWidth) { |
|
|
|
if (mBezierStart1.x < 0 || mBezierStart1.x > viewWidth) { |
|
|
|
if (mBezierStart1.x < 0 || mBezierStart1.x > viewWidth) { |
|
|
|
if (mBezierStart1.x < 0) |
|
|
|
if (mBezierStart1.x < 0) |
|
|
|