From b3c5cbe54eee7d234c2c3924ad018b95efd72243 Mon Sep 17 00:00:00 2001 From: bob Date: Tue, 19 Feb 2019 16:11:31 -0500 Subject: got rid of DocumentView as a prop --- src/client/views/nodes/DocumentView.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/client/views/nodes') diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 0ef8856b7..ac1996ac5 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -278,13 +278,11 @@ export class DocumentView extends React.Component { bindings.BackgroundView = backgroundView; } - bindings.DocumentView = this; - var width = this.props.Document.GetNumber(KeyStore.NativeWidth, 0); var strwidth = width > 0 ? width.toString() + "px" : "100%"; var height = this.props.Document.GetNumber(KeyStore.NativeHeight, 0); var strheight = height > 0 ? height.toString() + "px" : "100%"; - var scaling = this.props.Scaling;// this.props.ScreenToLocalTransform().Scale; + var scaling = this.props.Scaling; return (