diff options
author | bob <bcz@cs.brown.edu> | 2020-01-31 10:12:32 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2020-01-31 10:12:32 -0500 |
commit | b0544ea44ef78a93deb9290815f95d6d9308447d (patch) | |
tree | 310a29e9ae113e97f12f6046ac3ec110a849fb38 /src/client/views/nodes/FormattedTextBox.tsx | |
parent | f4662822d9dd3280e843c3f088aee310352705ae (diff) |
fixed text labeling in pivot view
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/FormattedTextBox.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx index 939df2540..fe9b8e0ff 100644 --- a/src/client/views/nodes/FormattedTextBox.tsx +++ b/src/client/views/nodes/FormattedTextBox.tsx @@ -1070,8 +1070,7 @@ export class FormattedTextBox extends DocAnnotatableComponent<(FieldViewProps & const rounded = StrCast(this.layoutDoc.borderRounding) === "100%" ? "-rounded" : ""; const interactive = InkingControl.Instance.selectedTool || this.layoutDoc.isBackground; if (this.props.isSelected()) { - // TODO: ftong --> update from dash in richtextmenu - RichTextMenu.Instance.updateFromDash(this._editorView!, undefined, this.props); + this._editorView && RichTextMenu.Instance.updateFromDash(this._editorView, undefined, this.props); } else if (FormattedTextBoxComment.textBox === this) { FormattedTextBoxComment.Hide(); } |