diff options
author | bobzel <zzzman@gmail.com> | 2020-10-30 16:00:44 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-10-30 16:00:44 -0400 |
commit | 17eea906fc583baebb7222030aebc78d74f76c37 (patch) | |
tree | 34eb840a87dbc277b3385b74cde0825d6ff3db02 | |
parent | c36a4560dfc2a3693dd63091126f023f0715ae98 (diff) |
from last
-rw-r--r-- | src/client/views/nodes/WebBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx index 326b49167..6c244a278 100644 --- a/src/client/views/nodes/WebBox.tsx +++ b/src/client/views/nodes/WebBox.tsx @@ -656,7 +656,7 @@ export class WebBox extends ViewBoxAnnotatableComponent<FieldViewProps, WebDocum } scrollXf = () => this.props.ScreenToLocalTransform().translate(NumCast(this.layoutDoc._scrollLeft), NumCast(this.layoutDoc._scrollTop)); render() { - const scaling = Number.isFinite(this.props.ContentScaling()) ? this.props.ContentScaling() : 1; + const scaling = Number.isFinite(this.props.ContentScaling()) ? this.props.ContentScaling() || 1 : 1; return (<div className="webBox" ref={this._mainCont} > <div className={`webBox-container`} style={{ |