diff options
author | bobzel <zzzman@gmail.com> | 2021-10-06 19:40:40 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-10-06 19:40:40 -0400 |
commit | a46d659229120cdb139f716b1a48ec6b887807bb (patch) | |
tree | 1fd6ce5d4ed3c513e5699f34d4133df4525725ae /src/client/views/LightboxView.tsx | |
parent | fc679d849ae8afa3ef66e4e0b2b2b816e1fb41d4 (diff) |
fixed lightbox view to shrinkwrap collections when opened, but not force fit contents to allow users to navigate. fixed comparison box to show context of maker'/annotation documents. fixed ink pointer events to honor pointerEvents prop (eg when embedded in a comparisonBox that turns them off).
Diffstat (limited to 'src/client/views/LightboxView.tsx')
-rw-r--r-- | src/client/views/LightboxView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/LightboxView.tsx b/src/client/views/LightboxView.tsx index ec30a6a5d..ec3bf6c18 100644 --- a/src/client/views/LightboxView.tsx +++ b/src/client/views/LightboxView.tsx @@ -214,7 +214,7 @@ export class LightboxView extends React.Component<LightboxViewProps> { LightboxView.SetLightboxDoc(undefined); } }} > - + <div className="lightboxView-contents" style={{ left: this.leftBorder, top: this.topBorder, @@ -237,7 +237,7 @@ export class LightboxView extends React.Component<LightboxViewProps> { DataDoc={undefined} LayoutTemplate={LightboxView.LightboxDocTemplate} addDocument={undefined} - fitContentsToDoc={this.fitToBox} + // fitContentsToDoc={this.fitToBox} // bcz: why do we want this? when we initially open a colletion, we shrinkwrap it which allows for user navigation. if we later encounter a collection, it's not clear to me that we want to make it either shrinkwrap or fitContents... isDocumentActive={returnFalse} isContentActive={returnTrue} addDocTab={this.addDocTab} |