diff options
| author | bobzel <zzzman@gmail.com> | 2021-03-26 13:22:13 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-03-26 13:22:13 -0400 |
| commit | 36028677c61be7ab5937e864e881fa91a3b82d8c (patch) | |
| tree | 63e51ff8283cf269d491bd277b8d403a3ff59474 /src/client/views/nodes/ScreenshotBox.tsx | |
| parent | 7878bc22a6dec8bff17f38aa3ffad897babb9e16 (diff) | |
extracted AudioWaveform out of AudioBox in order to use in CollectionStackedTimelineView to share between audioBox and videoBox.
Diffstat (limited to 'src/client/views/nodes/ScreenshotBox.tsx')
| -rw-r--r-- | src/client/views/nodes/ScreenshotBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ScreenshotBox.tsx b/src/client/views/nodes/ScreenshotBox.tsx index 6c019d6f2..aba7be68d 100644 --- a/src/client/views/nodes/ScreenshotBox.tsx +++ b/src/client/views/nodes/ScreenshotBox.tsx @@ -146,7 +146,7 @@ export class ScreenshotBox extends ViewBoxAnnotatableComponent<FieldViewProps, S } contentFunc = () => [this.content]; videoPanelHeight = () => NumCast(this.dataDoc[this.fieldKey + "-nativeHeight"], 1) / NumCast(this.dataDoc[this.fieldKey + "-nativeWidth"], 1) * this.props.PanelWidth(); - formattedPanelHeight = () => Math.max(0, this.props.PanelHeight() - this.videoPanelHeight()) + formattedPanelHeight = () => Math.max(0, this.props.PanelHeight() - this.videoPanelHeight()); render() { TraceMobx(); return <div className="videoBox" onContextMenu={this.specificContextMenu} style={{ width: "100%", height: "100%" }} > |
