diff options
author | bobzel <zzzman@gmail.com> | 2022-07-26 09:27:12 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-07-26 09:27:12 -0400 |
commit | dc0ecb47cd4e63e4861b79c00fe131de4450f46b (patch) | |
tree | 2802e097f6f26c647a664822fe1b40ceac1d4887 /src/client/views/DocumentDecorations.tsx | |
parent | 6e8c1844f0d8b31ab95da9e9025e7bfb58b0779a (diff) |
turned off resetriting text box resizing to max of scroll height. fixed placement/behavior of sidebar anno button for text.
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 922f037f4..432dd360a 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -521,7 +521,7 @@ export class DocumentDecorations extends React.Component<{ PanelWidth: number; P } else doc._height = actualdH; } } else { - const maxHeight = Math.max(nheight, NumCast(doc.scrollHeight, NumCast(doc[docView.LayoutFieldKey + '-scrollHeight']))) * docView.NativeDimScaling(); + const maxHeight = 0; //Math.max(nheight, NumCast(doc.scrollHeight, NumCast(doc[docView.LayoutFieldKey + '-scrollHeight']))) * docView.NativeDimScaling(); dH && (doc._height = actualdH > maxHeight && maxHeight ? maxHeight : actualdH); dW && (doc._width = actualdW); dH && (doc._autoHeight = false); |