diff options
author | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-03-12 16:10:37 -0400 |
---|---|---|
committer | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-03-12 16:10:37 -0400 |
commit | ecfb0d119e08a101cd8d18e8a90d31995f71eeec (patch) | |
tree | 42af3f1bf9b0957f047acb8d3088f031f83698b5 | |
parent | 32a742020243ffadfdae2cbc0a8b2853b0f06fc5 (diff) |
change
-rw-r--r-- | src/client/views/nodes/ComparisonBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/ComparisonBox.tsx b/src/client/views/nodes/ComparisonBox.tsx index 86a9bcf63..828c82142 100644 --- a/src/client/views/nodes/ComparisonBox.tsx +++ b/src/client/views/nodes/ComparisonBox.tsx @@ -220,8 +220,8 @@ export class ComparisonBox extends ViewBoxAnnotatableComponent<FieldViewProps>() containerViewPath={this.DocumentView?.().docViewPath} moveDocument={which.endsWith('1') ? this.moveDoc1 : this.moveDoc2} removeDocument={which.endsWith('1') ? this.remDoc1 : this.remDoc2} - NativeWidth={returnZero} - NativeHeight={() => this.clipHeight} + NativeWidth={() => NumCast(this.layoutDoc.width, 200)} + NativeHeight={() => NumCast(this.layoutDoc.height, 200)} isContentActive={emptyFunction} isDocumentActive={returnFalse} whenChildContentsActiveChanged={this.whenChildContentsActiveChanged} |