mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-11 10:39:56 -05:00
Rename getCostumeSvg to getCostume
This commit is contained in:
parent
cde801bc17
commit
fc36ea5208
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ class VirtualMachine extends EventEmitter {
|
|||
* @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.
|
||||
*/
|
||||
getCostumeSvg (costumeIndex) {
|
||||
getCostume (costumeIndex) {
|
||||
const id = this.editingTarget.getCostumes()[costumeIndex].assetId;
|
||||
if (id && this.runtime && this.runtime.storage &&
|
||||
this.runtime.storage.get(id).dataFormat === 'svg') {
|
||||
|
|
Loading…
Reference in a new issue