diff options
author | bobzel <zzzman@gmail.com> | 2023-10-12 11:24:19 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-10-12 11:24:19 -0400 |
commit | 53d456afb43b70cc240bc6a37094fa37cfe37436 (patch) | |
tree | 1c45b91992e766da36a92ae652aa7ebe122ff664 /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | 54e80f26df04f1a031d1d7e4b840fe9426d4d2cf (diff) |
performance fixes to reduce re-rendering : moved link brushing out of Doc's highlighting and into Annotation.tsx, stopped freeformview from rerendering whenever its invalidated by not always setting layoutElements to a new list.
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 90ebf5206..fcdfbdf2a 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -2114,7 +2114,6 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FieldViewProps width: `${100 / scale}%`, height: `${100 / scale}%`, }), - // display: !this.props.isContentActive() && this.props.thumbShown?.() ? 'none' : undefined, transition: 'inherit', // overflowY: this.layoutDoc._layout_autoHeight ? "hidden" : undefined, color: this.fontColor, |