This commit is contained in:
kunfei committed 2022-08-19 19:42:26 +08:00
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