diff options
author | bobzel <zzzman@gmail.com> | 2020-12-12 22:52:26 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-12-12 22:52:26 -0500 |
commit | 890dd1c3d8d6a00cf3111972c20f7b5b9cb09085 (patch) | |
tree | e5a3b38b32771dd1d2162ca8cb30d82700423f9d /src/client/views/nodes/ScreenshotBox.tsx | |
parent | 9ca004669a7882123277eb46cad8e86b28305266 (diff) |
made conentScaling a DocumentView-only prop
Diffstat (limited to 'src/client/views/nodes/ScreenshotBox.tsx')
-rw-r--r-- | src/client/views/nodes/ScreenshotBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ScreenshotBox.tsx b/src/client/views/nodes/ScreenshotBox.tsx index 713511a94..456de7ede 100644 --- a/src/client/views/nodes/ScreenshotBox.tsx +++ b/src/client/views/nodes/ScreenshotBox.tsx @@ -167,7 +167,7 @@ export class ScreenshotBox extends ViewBoxBaseComponent<FieldViewProps, Screensh contentFunc = () => [this.content]; render() { return (<div className="videoBox" onContextMenu={this.specificContextMenu} - style={{ transform: `scale(${this.props.ContentScaling()})`, width: `${100 / this.props.ContentScaling()}%`, height: `${100 / this.props.ContentScaling()}%` }} > + style={{ width: `${100}%`, height: `${100}%` }} > <div className="videoBox-viewer" > <CollectionFreeFormView {...OmitKeys(this.props, ["NativeWidth", "NativeHeight"]).omit} PanelHeight={this.props.PanelHeight} |