mirror of
https://github.com/scratchfoundation/scratch-render.git
synced 2025-08-01 17:09:26 -04:00
Use the right skin format in playground demo (#33)
This commit is contained in:
parent
042f0f0353
commit
2b81b791b3
2 changed files with 3 additions and 2 deletions
|
@ -35,7 +35,8 @@ function initWorker() {
|
|||
create2.then(function (id) {
|
||||
drawableID2 = id;
|
||||
renderer.updateDrawableProperties(drawableID2, {
|
||||
skin: '09dc888b0b7df19f70d81588ae73420e.svg'
|
||||
skin: 'https://cdn.assets.scratch.mit.edu/internalapi/asset/' +
|
||||
'09dc888b0b7df19f70d81588ae73420e.svg/get/'
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ Drawable._DEFAULT_SKIN = {
|
|||
'09dc888b0b7df19f70d81588ae73420e.svg/get/',
|
||||
gradient: 'https://cdn.assets.scratch.mit.edu/internalapi/asset/' +
|
||||
'a49ff276b9b8f997a1ae163992c2c145.png/get/'
|
||||
}.scratch_cat;
|
||||
}.squirrel;
|
||||
|
||||
/**
|
||||
* Dispose of this Drawable. Do not use it after calling this method.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue