diff options
| author | bobzel <zzzman@gmail.com> | 2023-03-23 20:18:22 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-03-23 20:18:22 -0400 |
| commit | 01ef278b60020d4dafc8f7a217d6de0bf2b3bf89 (patch) | |
| tree | f07a624c68d39631855efed7f17737f6cd2ad79f /src/client/views/nodes | |
| parent | e4e1e346d2d0959336406edfda79c46b45787d25 (diff) | |
fixed schema view to not let its contents be active (selectable/draggable) unless schema itself is active.
Diffstat (limited to 'src/client/views/nodes')
| -rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index f34ac2b44..d7a61a797 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -319,7 +319,7 @@ export class DocumentViewInternal extends DocComponent<DocumentViewInternalProps return this.props?.styleProvider?.(this.layoutDoc, this.props, StyleProp.TitleHeight) || 0; } @computed get pointerEvents(): 'none' | 'all' | 'visiblePainted' | undefined { - return this.onClickHandler ? 'all' : this.props.styleProvider?.(this.Document, this.props, StyleProp.PointerEvents + (this.props.isSelected() ? ':selected' : '')); + return this.props.styleProvider?.(this.Document, this.props, StyleProp.PointerEvents + (this.props.isSelected() ? ':selected' : '')); } @computed get finalLayoutKey() { return StrCast(this.Document.layoutKey, 'layout'); |
