diff options
| author | bobzel <zzzman@gmail.com> | 2022-05-13 18:17:10 -0400 | 
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-05-13 18:17:10 -0400 | 
| commit | 57c1b8235b26a1b6a315922b4dc2926e1e597674 (patch) | |
| tree | 39e113956fb8c458111dba7ccfb9dc6f6d361606 /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
| parent | 3847b2bbba9a64b846ecd6af481fd04df55bd798 (diff) | |
removed layerProvider functionality.
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 29117794e..f2a222cee 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -1630,7 +1630,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp          const active = this.props.isContentActive();          const scale = (this.props.scaling?.() || 1) * NumCast(this.layoutDoc._viewScale, 1);          const rounded = StrCast(this.layoutDoc.borderRounding) === "100%" ? "-rounded" : ""; -        const interactive = (CurrentUserUtils.SelectedTool === InkTool.None || SnappingManager.GetIsDragging()) && (this.layoutDoc.z || this.props.layerProvider?.(this.layoutDoc) !== false); +        const interactive = (CurrentUserUtils.SelectedTool === InkTool.None || SnappingManager.GetIsDragging()) && (this.layoutDoc.z || !this.layoutDoc._lockedPosition);          if (!selected && FormattedTextBoxComment.textBox === this) setTimeout(FormattedTextBoxComment.Hide);          const minimal = this.props.ignoreAutoHeight;          const paddingX = NumCast(this.layoutDoc._xMargin, this.props.xPadding || 0); | 
