aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-04-28 12:13:44 -0400
committerbobzel <zzzman@gmail.com>2022-04-28 12:13:44 -0400
commit59a22f3a007b201e68ac2f3e1d62e0ca5e66488a (patch)
tree37ecac13872202fbf5872f27163c69e6c7e565a0 /src/client/views/nodes/ImageBox.tsx
parent778432158e5f0bcdcb2e68ff6872a5c9335ef3af (diff)
fixed feedback dragging link button. fixed warnings. added some assymetric linkRelationships.
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r--src/client/views/nodes/ImageBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx
index aadad5ffa..5982d4d66 100644
--- a/src/client/views/nodes/ImageBox.tsx
+++ b/src/client/views/nodes/ImageBox.tsx
@@ -152,7 +152,7 @@ export class ImageBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp
croppingProto.isPrototype = true;
croppingProto.proto = Cast(this.rootDoc.proto, Doc, null)?.proto; // set proto of cropping's data doc to be IMAGE_PROTO
croppingProto.type = DocumentType.IMG;
- croppingProto.layout = ImageBox.LayoutString("data")
+ croppingProto.layout = ImageBox.LayoutString("data");
croppingProto.data = ObjectField.MakeCopy(this.rootDoc[this.fieldKey] as ObjectField);
croppingProto["data-nativeWidth"] = anchw;
croppingProto["data-nativeHeight"] = anchh;