diff options
author | bob <bcz@cs.brown.edu> | 2020-02-07 13:58:33 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2020-02-07 13:58:33 -0500 |
commit | ea5e85e30b83b40135c83025d4f1be1ed188b9b7 (patch) | |
tree | 6e28ccee1b6cdcdca2ad5ecb5d49365d0cd28b13 /src/client/views/nodes/ImageBox.tsx | |
parent | ccedb9302632fcdbc75292b90942a34b98bebcee (diff) | |
parent | 688f54be8be328d733e05b0781aa8908305e14fa (diff) |
Merge branch 'master' into fixinglayoutsyms
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 66b0e5a15..1951fcc1a 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -416,7 +416,8 @@ export class ImageBox extends DocAnnotatableComponent<FieldViewProps, ImageDocum style={{ transform: `scale(${this.props.ContentScaling()})`, width: `${100 / this.props.ContentScaling()}%`, - height: `${100 / this.props.ContentScaling()}%` + height: `${100 / this.props.ContentScaling()}%`, + pointerEvents: this.props.Document.isBackground ? "none" : undefined }} > <CollectionFreeFormView {...this.props} PanelHeight={this.props.PanelHeight} |