diff options
| author | srichman333 <sarah_n_richman@brown.edu> | 2023-02-20 00:53:06 -0500 |
|---|---|---|
| committer | srichman333 <sarah_n_richman@brown.edu> | 2023-02-20 00:53:06 -0500 |
| commit | 6b1cbe4130c9090042378dcf81e0eabca9badfd8 (patch) | |
| tree | e45813782b80ffba61d003d90f19fe7ed53d88ce /src/client/views/PropertiesView.tsx | |
| parent | 53bcf6cf1115673791406d51edc1913a43ab9bc3 (diff) | |
| parent | 32f5040c44dc302e3dd53cecd9be4cd51a474d3f (diff) | |
Merge branch 'master' into uiupdate-sarah
Diffstat (limited to 'src/client/views/PropertiesView.tsx')
| -rw-r--r-- | src/client/views/PropertiesView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx index 411f51d84..a2bc37095 100644 --- a/src/client/views/PropertiesView.tsx +++ b/src/client/views/PropertiesView.tsx @@ -143,7 +143,7 @@ export class PropertiesView extends React.Component<PropertiesViewProps> { : layoutDoc._fitWidth ? !Doc.NativeHeight(this.dataDoc) ? NumCast(this.props.height) - : Math.min((this.docWidth() * NumCast(layoutDoc.scrollHeight, Doc.NativeHeight(layoutDoc))) / Doc.NativeWidth(layoutDoc) || NumCast(this.props.height)) + : Math.min((this.docWidth() * Doc.NativeHeight(layoutDoc)) / Doc.NativeWidth(layoutDoc) || NumCast(this.props.height)) : NumCast(layoutDoc._height) || 50 ) ); |
