diff options
author | Aubrey Li <Aubrey-Li> | 2022-04-05 16:17:51 -0400 |
---|---|---|
committer | Aubrey Li <Aubrey-Li> | 2022-04-05 16:17:51 -0400 |
commit | 4cb2fc6f0a173939b5ee51ff2d6548058799facd (patch) | |
tree | 2f6aa087c2b2eaf51a03fc30548371afbabc2855 /src/client/views/DocComponent.tsx | |
parent | 9a35bde069a28f53b4ecf668a066d7c94e63cce2 (diff) | |
parent | 8f6a065c192c091393e654bdac682c285a63ad8f (diff) |
merge master
Diffstat (limited to 'src/client/views/DocComponent.tsx')
-rw-r--r-- | src/client/views/DocComponent.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx index 2e6ea1faa..73a261c40 100644 --- a/src/client/views/DocComponent.tsx +++ b/src/client/views/DocComponent.tsx @@ -155,7 +155,7 @@ export function ViewBoxAnnotatableComponent<P extends ViewBoxAnnotatableProps>() Doc.AddDocToList(recent, "data", doc, undefined, true, true); } }); - this.props.select(false); + this.isAnyChildContentActive() && this.props.select(false); return true; } } |