mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-22 16:21: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 }
|
guard let self = self else { return }
|
||||||
|
|
||||||
if let itemId = update.maintainScrollPositionItemId,
|
if let itemId = update.maintainScrollPositionItemId,
|
||||||
let indexPath = self.dataSource.indexPath(itemId: itemId),
|
let indexPath = self.dataSource.indexPath(itemId: itemId) {
|
||||||
!self.tableView.isDragging,
|
|
||||||
!self.tableView.isDecelerating {
|
|
||||||
if update.shouldAdjustContentInset {
|
if update.shouldAdjustContentInset {
|
||||||
self.tableView.contentInset.bottom = max(
|
self.tableView.contentInset.bottom = max(
|
||||||
self.tableView.safeAreaLayoutGuide.layoutFrame.height
|
self.tableView.safeAreaLayoutGuide.layoutFrame.height
|
||||||
|
|
Loading…
Reference in a new issue