diff options
author | bobzel <zzzman@gmail.com> | 2020-11-02 20:19:25 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-11-02 20:19:25 -0500 |
commit | ae55833bb1730c992530dc3f50010588787d386e (patch) | |
tree | e64788d2c03d6184149798ee63d2f8c63770a5ea /src | |
parent | 0b0f74f7357c5418936f443eb844592b7fc0f3bf (diff) |
fixed display of text controls for nested text boxes like captions.
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/CollectionMenu.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionMenu.tsx b/src/client/views/collections/CollectionMenu.tsx index 1dbafbd61..cf94a93d3 100644 --- a/src/client/views/collections/CollectionMenu.tsx +++ b/src/client/views/collections/CollectionMenu.tsx @@ -551,7 +551,7 @@ export class CollectionFreeFormViewChrome extends React.Component<CollectionMenu } @computed get selectedDoc() { return this.selectedDocumentView?.rootDoc; } @computed get isText() { - return this.selectedDoc?.type === DocumentType.RTF || (RichTextMenu.Instance?.view as any)?.focused ? true : false; + return this.selectedDoc?.type === DocumentType.RTF || (RichTextMenu.Instance?.view as any) ? true : false; } @undoBatch |