diff options
| author | bob <bcz@cs.brown.edu> | 2019-04-15 16:04:16 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-04-15 16:04:16 -0400 |
| commit | 166c37942ba536f024cbeba6f151da0ed6a3f671 (patch) | |
| tree | 9850022d8c60fc64926cff23f3aacd1815f2d64c /src/client/views/collections/CollectionBaseView.tsx | |
| parent | 6c0b421db6aa3204bbc6e42139d240f503000b5d (diff) | |
fixing up small interaction issues with web pages, collections, etc.
Diffstat (limited to 'src/client/views/collections/CollectionBaseView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionBaseView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionBaseView.tsx b/src/client/views/collections/CollectionBaseView.tsx index bff56e8c3..444f6fc26 100644 --- a/src/client/views/collections/CollectionBaseView.tsx +++ b/src/client/views/collections/CollectionBaseView.tsx @@ -88,7 +88,7 @@ export class CollectionBaseView extends React.Component<CollectionViewProps> { var curPage = props.Document.GetNumber(KeyStore.CurPage, -1); doc.SetOnPrototype(KeyStore.Page, new NumberField(curPage)); if (this.isAnnotationOverlay) { - doc.SetOnPrototype(KeyStore.Zoom, new NumberField(this.props.Document.GetNumber(KeyStore.Scale, 1))); + doc.SetNumber(KeyStore.Zoom, this.props.Document.GetNumber(KeyStore.Scale, 1)); } if (curPage >= 0) { doc.SetOnPrototype(KeyStore.AnnotationOn, props.Document); |
