diff options
| author | bobzel <zzzman@gmail.com> | 2020-09-09 17:32:40 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-09 17:32:40 -0400 | 
| commit | 19751f41b642ad68e8029e6ea618232543a02ad8 (patch) | |
| tree | 5304aaa2b9ee65a0ff98f061d53bdac5b489679e /src/client/views/nodes/ScreenshotBox.tsx | |
| parent | b8300497de3d496015c719ad59df9b1d6d4b0e56 (diff) | |
| parent | 5421bce8982076e671c0ff43c38621b43731ffb0 (diff) | |
Merge pull request #697 from browngraphicslab/workingTemplates
Working templates
Diffstat (limited to 'src/client/views/nodes/ScreenshotBox.tsx')
| -rw-r--r-- | src/client/views/nodes/ScreenshotBox.tsx | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/src/client/views/nodes/ScreenshotBox.tsx b/src/client/views/nodes/ScreenshotBox.tsx index 5d51c420b..16ce749bc 100644 --- a/src/client/views/nodes/ScreenshotBox.tsx +++ b/src/client/views/nodes/ScreenshotBox.tsx @@ -9,7 +9,7 @@ import { InkTool } from "../../../fields/InkField";  import { listSpec, makeInterface } from "../../../fields/Schema";  import { Cast, NumCast } from "../../../fields/Types";  import { VideoField } from "../../../fields/URLField"; -import { emptyFunction, returnFalse, returnOne, returnZero, Utils } from "../../../Utils"; +import { emptyFunction, returnFalse, returnOne, returnZero, Utils, OmitKeys } from "../../../Utils";  import { Docs } from "../../documents/Documents";  import { CollectionFreeFormView } from "../collections/collectionFreeForm/CollectionFreeFormView";  import { ContextMenu } from "../ContextMenu"; @@ -169,11 +169,9 @@ export class ScreenshotBox extends ViewBoxBaseComponent<FieldViewProps, Screensh          return (<div className="videoBox" onContextMenu={this.specificContextMenu}              style={{ transform: `scale(${this.props.ContentScaling()})`, width: `${100 / this.props.ContentScaling()}%`, height: `${100 / this.props.ContentScaling()}%` }} >              <div className="videoBox-viewer" > -                <CollectionFreeFormView {...this.props} +                <CollectionFreeFormView {...OmitKeys(this.props, ["NativeWidth", "NativeHeight"]).omit}                      PanelHeight={this.props.PanelHeight}                      PanelWidth={this.props.PanelWidth} -                    NativeHeight={returnZero} -                    NativeWidth={returnZero}                      annotationsKey={""}                      focus={this.props.focus}                      isSelected={this.props.isSelected}  | 
