diff --git a/lib/twodunpacker.js b/lib/twodunpacker.js index 01b2dd8..b647a12 100644 --- a/lib/twodunpacker.js +++ b/lib/twodunpacker.js @@ -113,6 +113,7 @@ propertyMapping = { center: ['center-x', 'center-y'], 'intrinsic-size': ['intrinsic-width', 'intrinsic-height'], position: ['x', 'y'], + scale: ['scale-x', 'scale-y'], size: ['width', 'height'], 'top-left': ['left', 'top'], 'top-right': ['right', 'top'] diff --git a/src/twodunpacker.coffee b/src/twodunpacker.coffee index 9edc315..a58d4eb 100644 --- a/src/twodunpacker.coffee +++ b/src/twodunpacker.coffee @@ -69,6 +69,7 @@ propertyMapping = center : ['center-x', 'center-y'] 'intrinsic-size': ['intrinsic-width', 'intrinsic-height'] position : ['x', 'y'] + scale : ['scale-x', 'scale-y'] size : ['width', 'height'] 'top-left' : ['left', 'top'] 'top-right' : ['right', 'top']