|
|
@ -257,7 +257,7 @@ class PageView(context: Context, attrs: AttributeSet) : |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 单击 |
|
|
|
* 单击 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private fun onSingleTapUp(): Boolean { |
|
|
|
private fun onSingleTapUp() { |
|
|
|
when { |
|
|
|
when { |
|
|
|
isTextSelected -> isTextSelected = false |
|
|
|
isTextSelected -> isTextSelected = false |
|
|
|
mcRect.contains(startX, startY) -> if (!isAbortAnim) { |
|
|
|
mcRect.contains(startX, startY) -> if (!isAbortAnim) { |
|
|
@ -288,7 +288,6 @@ class PageView(context: Context, attrs: AttributeSet) : |
|
|
|
click(AppConfig.clickActionTopRight) |
|
|
|
click(AppConfig.clickActionTopRight) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return true |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private fun click(action: Int) { |
|
|
|
private fun click(action: Int) { |
|
|
|