Merge pull request #1117 from kchadha/update-svg-bitmapRes

Updating vector should make bitmap resolution 1.
This commit is contained in:
Paul Kaplan 2018-05-04 14:40:55 -04:00 committed by GitHub
commit 7ae0511e3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -669,6 +669,7 @@ class VirtualMachine extends EventEmitter {
// so the dataFormat should be 'svg'
costume.dataFormat = storage.DataFormat.SVG;
costume.md5 = `${costume.assetId}.${costume.dataFormat}`;
costume.bitmapResolution = 1;
this.emitTargetsUpdate();
}