diff options
author | bobzel <zzzman@gmail.com> | 2024-01-05 12:55:09 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-01-05 12:55:09 -0500 |
commit | 5027a2e1e75294532c8bb2259a879bca75c7ec35 (patch) | |
tree | 03b4f25f400dc5ba71a6c779f2f66e6ee5eaae23 /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | c8cd18e9108d25035f5239b865ddd4cd82d3a85b (diff) |
fixed up text inlining to fix autoheight, to show cursor better, and to highlight selection of inline.
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 3be3aeba3..8feb7ab85 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -2010,6 +2010,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FieldViewProps style={{ cursor: this._props.isContentActive() ? 'text' : undefined, height: this._props.height ? 'max-content' : undefined, + overflow: this.layout_autoHeight ? 'hidden' : undefined, pointerEvents: Doc.ActiveTool === InkTool.None && !this._props.onBrowseClick?.() ? undefined : 'none', }} onContextMenu={this.specificContextMenu} |