diff options
author | bobzel <zzzman@gmail.com> | 2021-02-12 12:17:44 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-02-12 12:17:44 -0500 |
commit | d0607264d955d90eca8178d5bfbc6a72f47fa872 (patch) | |
tree | 3320a09e7f113f87dfbb1b7d9155605fa7a3f1b1 /src/client/views/collections/CollectionStackingView.tsx | |
parent | 4a9d6d1409327fd99c5f554caebd917a316db32b (diff) |
fixed subtle bug with lightbox inadvertently clearing out childDoc list of a collection. added shift-double-cllick to open collection in lightbox.
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 f100247c9..6425e1625 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -181,7 +181,7 @@ export class CollectionStackingView extends CollectionSubView<StackingDocument, smoothScroll(focusSpeed = doc.presTransition || doc.presTransition === 0 ? NumCast(doc.presTransition) : 500, this._mainCont!, localTop[1] + this._mainCont!.scrollTop); } } - const endFocus = async (moved: boolean) => afterFocus ? await afterFocus(moved) : false; + const endFocus = async (moved: boolean) => afterFocus ? afterFocus(moved) : false; this.props.focus(this.rootDoc, willZoom, scale, (didFocus: boolean) => new Promise<boolean>(res => setTimeout(async () => res(await endFocus(didFocus)), focusSpeed))); |