Skip to content

Commit b464aa5

Browse files
committed
Added SetScale createMultiple action.
1 parent eaea6a7 commit b464aa5

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

v3/src/checksum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
var CHECKSUM = {
2-
build: 'd49bfab0-140a-11e7-94bb-359300de1e55'
2+
build: '5d709120-1410-11e7-94c7-b1edf9b04222'
33
};
44
module.exports = CHECKSUM;

v3/src/gameobjects/layer/Layer.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,13 @@ var Layer = new Class({
151151

152152
Actions.SetRotation(entries, rotation, stepRotation);
153153

154+
var scaleX = GetObjectValue(options, 'setScale.x', 1);
155+
var scaleY = GetObjectValue(options, 'setScale.y', 1);
156+
var stepScaleX = GetObjectValue(options, 'setScale.stepX', 0);
157+
var stepScaleY = GetObjectValue(options, 'setScale.stepY', 0);
158+
159+
Actions.SetScale(entries, scaleX, scaleY, stepScaleX, stepScaleY);
160+
154161
var alpha = GetObjectValue(options, 'setAlpha.value', 1);
155162
var stepAlpha = GetObjectValue(options, 'setAlpha.step', 0);
156163

0 commit comments

Comments
 (0)