More comment fixes

This commit is contained in:
DD 2017-08-31 13:41:47 -04:00
parent 7d3b9a866c
commit 5606b067e5

View file

@ -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.
} }
/** /**