diff options
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionStackingView.tsx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx index 9d8790dda..ced234850 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -184,7 +184,7 @@ export class CollectionStackingView extends CollectionSubView(StackingDocument)          if (found) {              const top = found.getBoundingClientRect().top;              const localTop = this.props.ScreenToLocalTransform().transformPoint(0, top); -            smoothScroll(500, this._mainCont!, localTop[1] + this._mainCont!.scrollTop); +            smoothScroll(doc.presTransition ? Number(doc.presTransition) : 500, this._mainCont!, localTop[1] + this._mainCont!.scrollTop);          }          afterFocus && setTimeout(() => {              if (afterFocus?.()) { } | 
