diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-04-17 10:51:17 -0400 | 
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-04-17 10:51:17 -0400 | 
| commit | 0736662068dbeb02a8a9dda84bc0ac523650d8c6 (patch) | |
| tree | 4d7183b29beb83196cd27b9247ac734756b58e1a /src/client/util/Import & Export/ImageUtils.ts | |
| parent | ac40232e5bbbb98680912eb3c505bab994079074 (diff) | |
fixed native size of images with template on reloading
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;      }; | 
