diff options
| author | kimdahey <claire_kim1@brown.edu> | 2019-07-17 10:55:31 -0400 |
|---|---|---|
| committer | kimdahey <claire_kim1@brown.edu> | 2019-07-17 10:55:31 -0400 |
| commit | ee385cd02a6ce99d59eb02a768bb587b566328e9 (patch) | |
| tree | d3308280d3975a3fd090b0e548b268fb2ad20304 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | |
| parent | e3527a5f0334156a70b36980b8188ceb15ea5de3 (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.tsx | 2 |
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](); } } |
