diff options
| author | Stanley Yip <33562077+yipstanley@users.noreply.github.com> | 2019-07-17 14:56:45 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-17 14:56:45 +0000 |
| commit | 253813f3ed75c5bbc08f32a1e822ff922bfe185b (patch) | |
| tree | 78cb59565eb78955e089a11d96011da79e0c81c7 /src/client/views/DocumentDecorations.tsx | |
| parent | cfc5a68c1d93f937ada7ba905265b159ec8be2a9 (diff) | |
| parent | ba25d48d52f6db6021f5149e39021f651af22317 (diff) | |
Merge branch 'master' into small_fix_0716
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 398974cb6..fb5104915 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -534,7 +534,6 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> doc.width = actualdW; if (fixedAspect) doc.height = nheight / nwidth * doc.width; else doc.height = actualdH; - Doc.SetInPlace(element.props.Document, "nativeHeight", (doc.height || 0) / doc.width * (doc.nativeWidth || 0), true); } else { if (!fixedAspect) { @@ -543,7 +542,6 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> doc.height = actualdH; if (fixedAspect) doc.width = nwidth / nheight * doc.height; else doc.width = actualdW; - Doc.SetInPlace(element.props.Document, "nativeWidth", (doc.width || 0) / doc.height * (doc.nativeHeight || 0), true); } } else { dW && (doc.width = actualdW); |
