diff options
| author | bobzel <zzzman@gmail.com> | 2020-09-02 15:30:45 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-09-02 15:30:45 -0400 |
| commit | 3f3ba063bb6e3bde20dafc8a9e6d7fe9254e22fe (patch) | |
| tree | d7f34c753114cde32b5f83e29016ad1c12f47b10 /src/client/views/collections | |
| parent | 2e3b83df9b0cb69db6f5febae70a2e36a0a90822 (diff) | |
fixed behavior of menuButtons to toggle contents. added start of a filter panel.
Diffstat (limited to 'src/client/views/collections')
| -rw-r--r-- | src/client/views/collections/TabDocView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx index 3c230537c..5cdf337a9 100644 --- a/src/client/views/collections/TabDocView.tsx +++ b/src/client/views/collections/TabDocView.tsx @@ -191,7 +191,7 @@ export class TabDocView extends React.Component<TabDocViewProps> { if (this.props.glContainer.tab && this._isActive !== this.props.glContainer.tab.isActive) { this._isActive = this.props.glContainer.tab.isActive; this._isActive && setTimeout(() => this.view && SelectionManager.SelectDoc(this.view, false), 0); - (CollectionDockingView.Instance as any)._goldenLayout.isInitialised && CollectionDockingView.Instance.stateChanged(); + (CollectionDockingView.Instance as any)._goldenLayout?.isInitialised && CollectionDockingView.Instance.stateChanged(); !this._isActive && this._document && Doc.UnBrushDoc(this._document); // bcz: bad -- trying to simulate a pointer leave event when a new tab is opened up on top of an existing one. } } |
