diff options
author | Andy Rickert <andrew_rickert@brown.edu> | 2020-04-29 16:23:30 -0700 |
---|---|---|
committer | Andy Rickert <andrew_rickert@brown.edu> | 2020-04-29 16:23:30 -0700 |
commit | ddf0902be470f6557695627fc65103c2d10e42f7 (patch) | |
tree | 38311ac28f3f253462b9f867220fdee732f7a336 /src/client/util/Import & Export/ImageUtils.ts | |
parent | 9aab1f5e7dc7438dfa8a93afe03bd5746315c994 (diff) | |
parent | dadbb74ffa56a0dc55745ce972e7b13925629b7b (diff) |
merge w master
Diffstat (limited to 'src/client/util/Import & Export/ImageUtils.ts')
-rw-r--r-- | src/client/util/Import & Export/ImageUtils.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/Import & Export/ImageUtils.ts b/src/client/util/Import & Export/ImageUtils.ts index 9fae5ff93..c8d1530b3 100644 --- a/src/client/util/Import & Export/ImageUtils.ts +++ b/src/client/util/Import & Export/ImageUtils.ts @@ -24,6 +24,7 @@ export namespace ImageUtils { const proto = Doc.GetProto(document); proto["data-nativeWidth"] = nativeWidth; proto["data-nativeHeight"] = nativeHeight; + proto["data-path"] = source; proto.contentSize = contentSize ? contentSize : undefined; return data !== undefined; }; |