diff options
author | bob <bcz@cs.brown.edu> | 2019-06-14 17:27:49 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-06-14 17:27:49 -0400 |
commit | f6e8b7a0f8a13ddf059cf701e46b8cbb8d9228f7 (patch) | |
tree | 9c9e64aac9836a3e842ecfccc69488198aa50ea0 /src/client/views/nodes/DocumentView.tsx | |
parent | e9d07e9d84ff5b0419b36f73768c8b8583fd0607 (diff) |
added page fwd/back/goto
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 583fa3e1a..0d5df550a 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -453,7 +453,6 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu render() { var scaling = this.props.ContentScaling(); var nativeWidth = this.nativeWidth > 0 ? `${this.nativeWidth}px` : "100%"; - let ph = this.props.PanelHeight(); var nativeHeight = BoolCast(this.props.Document.ignoreAspect) ? this.props.PanelHeight() / this.props.ContentScaling() : this.nativeHeight > 0 ? `${this.nativeHeight}px` : "100%"; return ( <div className={`documentView-node${this.props.isTopMost ? "-topmost" : ""}`} |