aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralyssaf16 <alyssa_feinberg@brown.edu>2024-03-12 16:10:37 -0400
committeralyssaf16 <alyssa_feinberg@brown.edu>2024-03-12 16:10:37 -0400
commitecfb0d119e08a101cd8d18e8a90d31995f71eeec (patch)
tree42af3f1bf9b0957f047acb8d3088f031f83698b5 /src
parent32a742020243ffadfdae2cbc0a8b2853b0f06fc5 (diff)
change
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/ComparisonBox.tsx4
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}