mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-25 07:22:33 -05:00
More comment fixes
This commit is contained in:
parent
7d3b9a866c
commit
5606b067e5
1 changed files with 3 additions and 3 deletions
|
@ -363,7 +363,7 @@ class VirtualMachine extends EventEmitter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get an SVG string from storage.
|
* Get an SVG string from storage.
|
||||||
* @param {int} costumeIndex - the index of the sound to be got.
|
* @param {int} costumeIndex - the index of the costume to be got.
|
||||||
* @return {string} the costume's SVG string, or null if it's not an SVG costume.
|
* @return {string} the costume's SVG string, or null if it's not an SVG costume.
|
||||||
*/
|
*/
|
||||||
getCostumeSvg (costumeIndex) {
|
getCostumeSvg (costumeIndex) {
|
||||||
|
@ -390,9 +390,9 @@ class VirtualMachine extends EventEmitter {
|
||||||
|
|
||||||
this.runtime.renderer.updateSVGSkin(costume.skinId, svg, rotationCenter);
|
this.runtime.renderer.updateSVGSkin(costume.skinId, svg, rotationCenter);
|
||||||
}
|
}
|
||||||
// TODO: Also update storage in addition to renderer. Without storage, if you switch
|
// @todo: Also update storage in addition to renderer. Without storage, if you switch
|
||||||
// costumes and switch back, you will lose your changes in the paint editor.
|
// costumes and switch back, you will lose your changes in the paint editor.
|
||||||
// TODO: emitTargetsUpdate if we need to update the storage ID on the updated costume.
|
// @todo: emitTargetsUpdate if we need to update the storage ID on the updated costume.
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue