aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2019-08-04 03:33:00 -0400
committerSam Wilkins <samwilkins333@gmail.com>2019-08-04 03:33:00 -0400
commit5a17fc9ff91e5a039a0ada4be498d8353ee94205 (patch)
treef35c1fa99217198523e446ca3732f5a93dbf982c /src/client/views/DocumentDecorations.tsx
parent8d6620dd6818c82363ec0c4d49a92b0e2c0c1036 (diff)
parent02346eabdefd428ca23d6a3fbefdcd51ef62b738 (diff)
merged with master
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index eccfc7c30..15471371a 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -541,7 +541,6 @@ export class DocumentDecorations extends React.Component<{}, { value: string }>
if (fixedAspect && (!nwidth || !nheight)) {
proto.nativeWidth = nwidth = doc.width || 0;
proto.nativeHeight = nheight = doc.height || 0;
- proto.ignoreAspect = true;
}
if (nwidth > 0 && nheight > 0 && !BoolCast(proto.ignoreAspect)) {
if (Math.abs(dW) > Math.abs(dH)) {