diff options
author | bobzel <zzzman@gmail.com> | 2024-02-22 08:17:13 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-02-22 08:17:13 -0500 |
commit | 158b589c2a5c9d2deb537e827ca31f93335957ea (patch) | |
tree | c234eae0c0dd6ac9b1776ac36987b090ead0774d /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | d04821dee28fdecda33ff7773dd5a1567202842c (diff) |
turned off zoom scaling for text boxes until it can be done more cleanly. fixed search to switch tabs when doc is inactive tab.
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index f2c4c6c8f..56008de8e 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -2019,7 +2019,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FieldViewProps } render() { TraceMobx(); - const scale = (this._props.NativeDimScaling?.() || 1) * NumCast(this.layoutDoc._freeform_scale, 1); + const scale = this._props.NativeDimScaling?.() || 1; // * NumCast(this.layoutDoc._freeform_scale, 1); const rounded = StrCast(this.layoutDoc.layout_borderRounding) === '100%' ? '-rounded' : ''; setTimeout(() => !this._props.isContentActive() && FormattedTextBoxComment.textBox === this && FormattedTextBoxComment.Hide); const paddingX = NumCast(this.layoutDoc._xMargin, this._props.xPadding || 0); |