aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
diff options
context:
space:
mode:
authorkimdahey <claire_kim1@brown.edu>2019-07-17 10:55:31 -0400
committerkimdahey <claire_kim1@brown.edu>2019-07-17 10:55:31 -0400
commitee385cd02a6ce99d59eb02a768bb587b566328e9 (patch)
treed3308280d3975a3fd090b0e548b268fb2ad20304 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
parente3527a5f0334156a70b36980b8188ceb15ea5de3 (diff)
jumping to a region from a link now shows the whole region supposedly
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index 06055a04d..4532239d6 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -267,7 +267,7 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) {
// this.props.Document.panX = panX;
// this.props.Document.panY = panY;
if (this.props.Document.scrollY) {
- this.props.Document.scrollY = panY;
+ this.props.Document.scrollY = panY - this.props.Document[HeightSym]();
}
}