diff options
author | bobzel <zzzman@gmail.com> | 2022-08-26 16:16:21 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-08-26 16:16:21 -0400 |
commit | b1044d1d79c1e06769f74df514e12557426b67be (patch) | |
tree | 13474116c6da78bbe41047fc7ad2dcc920550e67 /src/client/views/collections/CollectionNoteTakingView.tsx | |
parent | 7278aaa71a13f57cdc371bd771f5fcc6419707b7 (diff) |
trying to clean up transition times for presbox / jumptoDoc, etc.
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionNoteTakingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionNoteTakingView.tsx b/src/client/views/collections/CollectionNoteTakingView.tsx index 615141485..92c0bc341 100644 --- a/src/client/views/collections/CollectionNoteTakingView.tsx +++ b/src/client/views/collections/CollectionNoteTakingView.tsx @@ -201,7 +201,7 @@ export class CollectionNoteTakingView extends CollectionSubView() { const top = found.getBoundingClientRect().top; const localTop = this.props.ScreenToLocalTransform().transformPoint(0, top); if (Math.floor(localTop[1]) !== 0) { - smoothScroll((focusSpeed = doc.presTransition || doc.presTransition === 0 ? NumCast(doc.presTransition) : 500), this._mainCont!, localTop[1] + this._mainCont!.scrollTop); + smoothScroll((focusSpeed = NumCast(doc.focusSpeed, 500)), this._mainCont!, localTop[1] + this._mainCont!.scrollTop); } } const endFocus = async (moved: boolean) => (options?.afterFocus ? options?.afterFocus(moved) : ViewAdjustment.doNothing); |