mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Always give backdrops a certain rotation center
This commit is contained in:
parent
b7e40c9735
commit
85689201ed
1 changed files with 2 additions and 2 deletions
|
@ -340,8 +340,8 @@ const parseScratchObject = function (object, runtime, extensions, topLevel, zip)
|
||||||
const costume = {
|
const costume = {
|
||||||
name: costumeSource.costumeName,
|
name: costumeSource.costumeName,
|
||||||
bitmapResolution: costumeSource.bitmapResolution || 1,
|
bitmapResolution: costumeSource.bitmapResolution || 1,
|
||||||
rotationCenterX: costumeSource.rotationCenterX,
|
rotationCenterX: topLevel ? 240 : costumeSource.rotationCenterX,
|
||||||
rotationCenterY: costumeSource.rotationCenterY,
|
rotationCenterY: topLevel ? 180 : costumeSource.rotationCenterY,
|
||||||
// TODO we eventually want this next property to be called
|
// TODO we eventually want this next property to be called
|
||||||
// md5ext to reflect what it actually contains, however this
|
// md5ext to reflect what it actually contains, however this
|
||||||
// will be a very extensive change across many repositories
|
// will be a very extensive change across many repositories
|
||||||
|
|
Loading…
Reference in a new issue