优化
This commit is contained in:
1 parent
2be2ccbe9c
commit
35f50f5957
2 files changed
+5
-1
No files matched your search
@@ -506,6 +506,9 @@ class ReadView(context: Context, attrs: AttributeSet) :
|
||||
callBack.screenOffTimerStart()
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新滑动距离
|
||||
*/
|
||||
fun upPageSlopSquare() {
|
||||
val pageTouchSlop = AppConfig.pageTouchSlop
|
||||
this.pageSlopSquare = if (pageTouchSlop == 0) slopSquare else pageTouchSlop
|
||||
|
||||
Reference in new issue
Block a user