diff options
| author | geireann <60007097+geireann@users.noreply.github.com> | 2020-11-25 00:11:45 +0800 |
|---|---|---|
| committer | geireann <60007097+geireann@users.noreply.github.com> | 2020-11-25 00:11:45 +0800 |
| commit | 2163ecd955882965bde452861879a51f92706c89 (patch) | |
| tree | 513338515d1fca149110883f4eb9b3d529587122 /src/client/views/nodes/VideoBox.tsx | |
| parent | 6efc3545ccca2bcb0aaf219b2a9ff1c4f06e9e91 (diff) | |
| parent | 236bed717c721f56a60a57b189241a4cf714463c (diff) | |
Merge branch 'master' into presentation_v1
Diffstat (limited to 'src/client/views/nodes/VideoBox.tsx')
| -rw-r--r-- | src/client/views/nodes/VideoBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index bc69a3954..8ce76a347 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -393,7 +393,7 @@ export class VideoBox extends ViewBoxAnnotatableComponent<FieldViewProps, VideoD transform: this.props.PanelWidth() ? undefined : `scale(${this.contentScaling})`, width: this.props.PanelWidth() ? undefined : `${100 / this.contentScaling}%`, height: this.props.PanelWidth() ? undefined : `${100 / this.contentScaling}%`, - pointerEvents: this.layoutDoc._isBackground ? "none" : undefined, + pointerEvents: this.props.layerProvider?.(this.layoutDoc) === false ? "none" : undefined, borderRadius: `${Number(StrCast(this.layoutDoc.borderRounding).replace("px", "")) / this.contentScaling}px` }} > <div className="videoBox-viewer" > |
