aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/Import & Export/ImageUtils.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2020-02-28 12:17:03 -0500
committerbob <bcz@cs.brown.edu>2020-02-28 12:17:03 -0500
commit5c139f0001cd10e5699a716c1e64d2c2c0b2d800 (patch)
tree1111c40fe0a542c2a7f77b71a2f8c747093a984e /src/client/util/Import & Export/ImageUtils.ts
parentc7aa396670c3ccdd0ef158d483285910f6a7a8fe (diff)
allowing different text templates to be the default. fixing transparency. removing audio by default from notes.
Diffstat (limited to 'src/client/util/Import & Export/ImageUtils.ts')
-rw-r--r--src/client/util/Import & Export/ImageUtils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/Import & Export/ImageUtils.ts b/src/client/util/Import & Export/ImageUtils.ts
index ff909cc6b..ab8c73d15 100644
--- a/src/client/util/Import & Export/ImageUtils.ts
+++ b/src/client/util/Import & Export/ImageUtils.ts
@@ -24,7 +24,7 @@ export namespace ImageUtils {
const proto = Doc.GetProto(document);
proto["data-nativeWidth"] = nativeWidth;
proto["data-nativeHeight"] = nativeHeight;
- proto.contentSize = contentSize;
+ proto.contentSize = contentSize ? contentSize : undefined;
return data !== undefined;
};