src/display/image.js in entityjs-0.4.2 vs src/display/image.js in entityjs-0.4.3
- old
+ new
@@ -8,10 +8,10 @@
.requires('draw')
.defines({
image:function(b){
if(re.is(b)){
- this.attr({_image:b, sizeX:b.width, sizeY:b.height});
+ this.attr({_image:b, sizeX:b.width, sizeY:b.height, bisect:b.width});
return this;
}
return this._image;
},
\ No newline at end of file