aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/RecommendationsBox.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-06-17 10:59:54 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-06-17 10:59:54 -0400
commit375786198596ce8dcab06c39c5b4ffcca4a78b88 (patch)
tree2055113929a5d6eac9a5b9ee63c38355793de6c9 /src/client/views/RecommendationsBox.tsx
parent61e302ff1607584b460960844d9a0e065e4d7405 (diff)
fixed move document to undo correctly when ACLs of target don't allow a drop.
Diffstat (limited to 'src/client/views/RecommendationsBox.tsx')
-rw-r--r--src/client/views/RecommendationsBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/RecommendationsBox.tsx b/src/client/views/RecommendationsBox.tsx
index 8ca81c070..c98363214 100644
--- a/src/client/views/RecommendationsBox.tsx
+++ b/src/client/views/RecommendationsBox.tsx
@@ -56,7 +56,7 @@ export class RecommendationsBox extends React.Component<FieldViewProps> {
}
const returnXDimension = () => 150;
const returnYDimension = () => 150;
- const scale = () => returnXDimension() / NumCast(renderDoc.nativeWidth, returnXDimension());
+ const scale = () => returnXDimension() / NumCast(renderDoc._nativeWidth, returnXDimension());
//let scale = () => 1;
const newRenderDoc = Doc.MakeAlias(renderDoc); /// newRenderDoc -> renderDoc -> render"data"Doc -> TextProt
newRenderDoc.height = NumCast(this.props.Document.documentIconHeight);