diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-08-10 08:31:17 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-08-10 08:31:17 -0400 |
| commit | 837a9690b5fe8c3466a9b0c26ca1e484a0e4b253 (patch) | |
| tree | 43f59f0a428c79eec8a13c04997bd3f64e73fc85 /src/client/views/DocumentDecorations.tsx | |
| parent | 68f613b5e762649b743059e494e9307eb103ff0d (diff) | |
autoHeight fixes
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); } } }); |
