mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 06:23:37 -05:00
Fix relative localization for assets
This commit is contained in:
parent
b5f6a8d22f
commit
91037a261e
1 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ VirtualMachine.prototype.createEmptyProject = function () {
|
|||
var stage = new Sprite(blocks2, this.runtime);
|
||||
stage.name = 'Stage';
|
||||
stage.costumes.push({
|
||||
skin: '/assets/stage.png',
|
||||
skin: './assets/stage.png',
|
||||
name: 'backdrop1',
|
||||
bitmapResolution: 2,
|
||||
rotationCenterX: 480,
|
||||
|
@ -154,7 +154,7 @@ VirtualMachine.prototype.createEmptyProject = function () {
|
|||
var sprite = new Sprite(blocks1, this.runtime);
|
||||
sprite.name = 'Sprite1';
|
||||
sprite.costumes.push({
|
||||
skin: '/assets/scratch_cat.svg',
|
||||
skin: './assets/scratch_cat.svg',
|
||||
name: 'costume1',
|
||||
bitmapResolution: 1,
|
||||
rotationCenterX: 47,
|
||||
|
|
Loading…
Reference in a new issue