diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-08-10 08:31:45 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-08-10 08:31:45 -0400 |
| commit | b465486c571b2e4b44a3b87c2a85df23d936d3ab (patch) | |
| tree | 93db00dd9d9b35252b6709247ab7574250a8a7a7 /src/client/views/DocumentDecorations.tsx | |
| parent | e291730c407932506a80f96457a84dce1820521d (diff) | |
| parent | 3aea955ae56c1aa0611de09c4a013e9dc5c86c42 (diff) | |
Merge branch 'master' into dragBoxes
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 15471371a..6616d5d58 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -562,7 +562,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> } else { dW && (doc.width = actualdW); dH && (doc.height = actualdH); - dH && Doc.SetInPlace(element.props.Document, "autoHeight", undefined, true); + dH && element.props.Document.autoHeight && Doc.SetInPlace(element.props.Document, "autoHeight", false, true); } } }); |
