mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -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 = {
|
||||
name: costumeSource.costumeName,
|
||||
bitmapResolution: costumeSource.bitmapResolution || 1,
|
||||
rotationCenterX: costumeSource.rotationCenterX,
|
||||
rotationCenterY: costumeSource.rotationCenterY,
|
||||
rotationCenterX: topLevel ? 240 : costumeSource.rotationCenterX,
|
||||
rotationCenterY: topLevel ? 180 : costumeSource.rotationCenterY,
|
||||
// TODO we eventually want this next property to be called
|
||||
// md5ext to reflect what it actually contains, however this
|
||||
// will be a very extensive change across many repositories
|
||||
|
|
Loading…
Reference in a new issue