diff options
author | bobzel <zzzman@gmail.com> | 2023-03-28 14:23:17 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-03-28 14:23:17 -0400 |
commit | dabac69d26c8e8e69bd55466ce221d9e33e36638 (patch) | |
tree | a24bd5fdc95fee17f5d654d79c0a28a6c0a696a8 /src/client/views/nodes/FunctionPlotBox.tsx | |
parent | 6ea3d7bb225b4f05ff83eba9428e865690e24f8a (diff) |
numerous changes to try to simplify event handling in DocumentView - got rid of isContentActive in DocComponent since it's in DocumentView. Including adding 'enableDragWhenActive' , 'onClickScriptDisable',
Diffstat (limited to 'src/client/views/nodes/FunctionPlotBox.tsx')
-rw-r--r-- | src/client/views/nodes/FunctionPlotBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/FunctionPlotBox.tsx b/src/client/views/nodes/FunctionPlotBox.tsx index 75b4907cd..b43e359ff 100644 --- a/src/client/views/nodes/FunctionPlotBox.tsx +++ b/src/client/views/nodes/FunctionPlotBox.tsx @@ -101,7 +101,7 @@ export class FunctionPlotBox extends ViewBoxAnnotatableComponent<FieldViewProps> <div ref={this.createDropTarget} style={{ - pointerEvents: !this.isContentActive() ? 'all' : undefined, + pointerEvents: !this.props.isContentActive() ? 'all' : undefined, width: this.props.PanelWidth(), height: this.props.PanelHeight(), }}> |