mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-14 12:31:00 +00:00
Remove drag / deceleration check
This commit is contained in:
parent
8e1a654479
commit
bb3fe556e2
1 changed files with 1 additions and 3 deletions
|
@ -420,9 +420,7 @@ private extension TableViewController {
|
|||
guard let self = self else { return }
|
||||
|
||||
if let itemId = update.maintainScrollPositionItemId,
|
||||
let indexPath = self.dataSource.indexPath(itemId: itemId),
|
||||
!self.tableView.isDragging,
|
||||
!self.tableView.isDecelerating {
|
||||
let indexPath = self.dataSource.indexPath(itemId: itemId) {
|
||||
if update.shouldAdjustContentInset {
|
||||
self.tableView.contentInset.bottom = max(
|
||||
self.tableView.safeAreaLayoutGuide.layoutFrame.height
|
||||
|
|
Loading…
Reference in a new issue