mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-11 10:39:56 -05:00
Merge pull request #1117 from kchadha/update-svg-bitmapRes
Updating vector should make bitmap resolution 1.
This commit is contained in:
commit
7ae0511e3f
1 changed files with 1 additions and 0 deletions
|
@ -669,6 +669,7 @@ class VirtualMachine extends EventEmitter {
|
||||||
// so the dataFormat should be 'svg'
|
// so the dataFormat should be 'svg'
|
||||||
costume.dataFormat = storage.DataFormat.SVG;
|
costume.dataFormat = storage.DataFormat.SVG;
|
||||||
costume.md5 = `${costume.assetId}.${costume.dataFormat}`;
|
costume.md5 = `${costume.assetId}.${costume.dataFormat}`;
|
||||||
|
costume.bitmapResolution = 1;
|
||||||
this.emitTargetsUpdate();
|
this.emitTargetsUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue