aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionViewChromes.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-07-02 14:43:04 -0400
committerGitHub <noreply@github.com>2020-07-02 14:43:04 -0400
commitda0b78bb21d29cb861e1b684023b991b9f95e62b (patch)
tree9e37ba065eb90ad7e716d41bd2f85ecc3b003dc7 /src/client/views/collections/CollectionViewChromes.tsx
parentd8fe61a05e676fb9e44a191b6090d3274963e836 (diff)
parent59868be3182e049297f7f86da368cf2733870fb2 (diff)
Merge pull request #426 from browngraphicslab/mobile_revision_direct
Dash Mobile
Diffstat (limited to 'src/client/views/collections/CollectionViewChromes.tsx')
-rw-r--r--src/client/views/collections/CollectionViewChromes.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionViewChromes.tsx b/src/client/views/collections/CollectionViewChromes.tsx
index 4e91a2928..c20f2162a 100644
--- a/src/client/views/collections/CollectionViewChromes.tsx
+++ b/src/client/views/collections/CollectionViewChromes.tsx
@@ -316,7 +316,7 @@ export class CollectionViewBaseChrome extends React.Component<CollectionViewChro
render() {
const collapsed = this.props.CollectionView.props.Document._chromeStatus !== "enabled";
- const scale = Math.min(1, this.props.CollectionView.props.ScreenToLocalTransform().Scale);
+ const scale = Math.min(1, this.props.CollectionView.props.ScreenToLocalTransform()?.Scale);
return (
<div className="collectionViewChrome-cont" style={{
top: collapsed ? -70 : 0, height: collapsed ? 0 : undefined,