diff options
author | bob <bcz@cs.brown.edu> | 2019-08-21 13:00:23 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-08-21 13:00:23 -0400 |
commit | 987302198f91c575328bebdf8e98f77996d77cff (patch) | |
tree | 7f110eef228ad636580bd3b5ddddefe51f0aae8e /src/client/views/nodes/FormattedTextBox.tsx | |
parent | 7153da56f27226cc6f92848b4548032bd5e32170 (diff) | |
parent | 542d272921666ad6ffbef8a028d8204e5c357791 (diff) |
Merge branch 'master' into bulletdictation
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/FormattedTextBox.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx index f2ca0715a..0c39a57ff 100644 --- a/src/client/views/nodes/FormattedTextBox.tsx +++ b/src/client/views/nodes/FormattedTextBox.tsx @@ -797,7 +797,6 @@ export class FormattedTextBox extends DocComponent<(FieldViewProps & FormattedTe @action tryUpdateHeight() { if (this.props.Document.autoHeight && this._ref.current!.scrollHeight !== 0) { - console.log("DT = " + this.props.Document.title + " " + this._ref.current!.clientHeight + " " + this._ref.current!.scrollHeight + " " + this._ref.current!.textContent); let xf = this._ref.current!.getBoundingClientRect(); let scrBounds = this.props.ScreenToLocalTransform().transformBounds(0, 0, xf.width, this._ref.current!.textContent === "" ? 35 : this._ref.current!.scrollHeight); let nh = this.props.Document.isTemplate ? 0 : NumCast(this.dataDoc.nativeHeight, 0); |