diff options
author | bob <bcz@cs.brown.edu> | 2020-02-19 14:40:34 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2020-02-19 14:40:34 -0500 |
commit | e816fa75571e2149bbc946dfddb0ca78cf33ca28 (patch) | |
tree | 3378574fe4b9ff0f81cd7c6225e5580a5ac2d723 /src/client/views/nodes/ImageBox.tsx | |
parent | d3b29768bc16447c13114756c119f576dd2deab5 (diff) |
chome display set to 'none' when not 'enabled'. fixed template expansion bug.
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index ba09a02a3..bb421d315 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -96,7 +96,7 @@ export class ImageBox extends DocAnnotatableComponent<FieldViewProps, ImageDocum if (targetDoc[targetField] instanceof ImageField) { this.dataDoc[this.props.fieldKey] = ObjectField.MakeCopy(targetDoc[targetField] as ImageField); this.dataDoc[this.props.fieldKey + "-nativeWidth"] = NumCast(targetDoc[targetField + "-nativeWidth"]); - this.dataDoc[this.props.fieldKey + "-nativeHeight"] = NumCast(targeDoc[targetField + "-nativeHeight"]); + this.dataDoc[this.props.fieldKey + "-nativeHeight"] = NumCast(targetDoc[targetField + "-nativeHeight"]); e.stopPropagation(); } } |