mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-13 23:10:56 -04:00
Merge pull request #1126 from fsih/fixQuirksOnLoadCostume
Run quirks mode fixes on costumes loaded from sb2s
This commit is contained in:
commit
5c003641f9
4 changed files with 40 additions and 5 deletions
src/engine
|
@ -917,6 +917,14 @@ class Runtime extends EventEmitter {
|
|||
this.renderer = renderer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the svg adapter, which converts scratch 2 svgs to scratch 3 svgs
|
||||
* @param {!SvgRenderer} svgAdapter The adapter to attach
|
||||
*/
|
||||
attachV2SVGAdapter (svgAdapter) {
|
||||
this.v2SvgAdapter = svgAdapter;
|
||||
}
|
||||
|
||||
/**
|
||||
* Attach the storage module
|
||||
* @param {!ScratchStorage} storage The storage module to attach
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue