diff --git a/src/object.class.js b/src/object.class.js index 2078f4d9..cb20fca2 100644 --- a/src/object.class.js +++ b/src/object.class.js @@ -119,7 +119,7 @@ var i = this.stateProperties.length, prop; while (i--) { prop = this.stateProperties[i]; - if (options[prop]) { + if (prop in options) { (prop === 'angle') ? this.setAngle(options[prop]) : (this[prop] = options[prop]);