We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46ff0a1 commit 14c4ae7Copy full SHA for 14c4ae7
src/tweenjs/plugins/CSSPlugin.js
@@ -169,7 +169,11 @@ this.createjs = this.createjs || {};
169
cssData[prop] = "";
170
return initVal;
171
} else {
172
- cssData[prop] = result.unit;
+ if (result.unit == 'number')
173
+ cssData[prop] = '';
174
+ else
175
+ cssData[prop] = result.unit;
176
+
177
return result.value;
178
}
179
};
0 commit comments