diff options
author | bob <bcz@cs.brown.edu> | 2019-08-01 10:35:02 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-08-01 10:35:02 -0400 |
commit | a4000aa57c9934ff3a68ba17474936836a5f235e (patch) | |
tree | 31444be074bb3809a10f368f33515f8d8c74b124 /src/client/views/DocumentDecorations.tsx | |
parent | d4accdd22cabdd78fc7bd76dd7ce3cb59e4b102f (diff) |
tweaks
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 1 |
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)) { |