diff options
| author | bob <bcz@cs.brown.edu> | 2019-10-15 13:42:13 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-10-15 13:42:13 -0400 |
| commit | 03f86e3b7b450699073c47aa43af23d31e0765d4 (patch) | |
| tree | 74a5066ca8f15cab25a626894edf8ea9e46d01cb /src/client/views/DocComponent.tsx | |
| parent | 69d822d6c68b69e5bfeeff03942ea9bab71cecc3 (diff) | |
extensions for linearViews or nesting.
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 b05966bb5..fbc27192c 100644 --- a/src/client/views/DocComponent.tsx +++ b/src/client/views/DocComponent.tsx @@ -36,7 +36,7 @@ export function DocStaticComponent<P extends DocStaticProps, T>(schemaCtor: (doc get Document(): T { return schemaCtor(this.props.Document); } - active = () => (this.props.Document.forceActive || this.props.isSelected() || this.props.renderDepth === 0) && !InkingControl.Instance.selectedTool; + active = () => (this.props.Document.forceActive || this.props.isSelected() || this.props.renderDepth === 0);// && !InkingControl.Instance.selectedTool; // bcz: inking state shouldn't affect static tools } return Component; } |
