diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-06-17 10:59:54 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-06-17 10:59:54 -0400 |
| commit | 375786198596ce8dcab06c39c5b4ffcca4a78b88 (patch) | |
| tree | 2055113929a5d6eac9a5b9ee63c38355793de6c9 /src/client/views/RecommendationsBox.tsx | |
| parent | 61e302ff1607584b460960844d9a0e065e4d7405 (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.tsx | 2 |
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); |
