diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-30 00:58:10 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-30 00:58:10 -0400 |
| commit | dafb4f33ee32ddc323860bf54c560d2def66c152 (patch) | |
| tree | d9cec550e2a8f7c529abbf3672ceed1cc257e852 /src/client/views/collections | |
| parent | 9e6f81fdd224f5988ce3b8e794d630f81a34bc0b (diff) | |
fixed undo for following links from a Document view.
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 dd383fc32..5bff1cdc3 100644 --- a/src/client/views/collections/TabDocView.tsx +++ b/src/client/views/collections/TabDocView.tsx @@ -348,7 +348,7 @@ export class TabDocView extends React.Component<TabDocViewProps> { renderDepth={0} parentActive={returnTrue} whenActiveChanged={emptyFunction} - focus={emptyFunction} + focus={(doc: Doc, willZoom: boolean, scale?: number, afterFocus?: () => void) => afterFocus?.()} backgroundColor={CollectionDockingView.Instance.props.backgroundColor} addDocTab={this.addDocTab} pinToPres={TabDocView.PinDoc} |
