Always give backdrops a certain rotation center

This commit is contained in:
DD Liu 2018-05-23 14:06:23 -04:00
parent b7e40c9735
commit 85689201ed

View file

@ -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