diff options
| author | bob <bcz@cs.brown.edu> | 2019-04-16 12:46:06 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-04-16 12:46:06 -0400 |
| commit | a4122573367ef36a9725e09b8447f3edfaa5c6a1 (patch) | |
| tree | 76fec7e0f5f964efc0af0957681d63fde309e5cc /src/client/views/collections/CollectionBaseView.tsx | |
| parent | c6360fb4aed348f6f6a3c7412b6acc0d1990c239 (diff) | |
| parent | feae8f4d314ef389cc544fd3ad0792a6bb04832c (diff) | |
Merge branch 'master' into presentation_view
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); |
