diff options
author | bobzel <zzzman@gmail.com> | 2021-07-30 09:03:53 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-07-30 09:03:53 -0400 |
commit | d714f8ae1940f08283c491b09a1c23127cf04064 (patch) | |
tree | f5f8c2885cb6753b113f7329f7218fb112dbb9de /src/client/views/nodes/WebBox.tsx | |
parent | 22ba42b2a44828d8d6284ea36d4f34b702ed6a4b (diff) |
from last
Diffstat (limited to 'src/client/views/nodes/WebBox.tsx')
-rw-r--r-- | src/client/views/nodes/WebBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx index ffa6593e5..acf50e773 100644 --- a/src/client/views/nodes/WebBox.tsx +++ b/src/client/views/nodes/WebBox.tsx @@ -487,7 +487,7 @@ export class WebBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps const inactiveLayer = this.props.layerProvider?.(this.layoutDoc) === false; const scale = this.props.scaling?.() || 1; return ( - <div className="webBox" ref={this._mainCont} style={{ pointerEvents: this.isContentActive() ? "all" : this.isContentActive() || SnappingManager.GetIsDragging() ? undefined : "none" }} > + <div className="webBox" ref={this._mainCont} style={{ pointerEvents: this.isContentActive() ? "all" : SnappingManager.GetIsDragging() ? undefined : "none" }} > <div className={`webBox-container`} style={{ pointerEvents: inactiveLayer ? "none" : undefined }} onContextMenu={this.specificContextMenu}> |