Feature - Fencing of sprites

This change requires that the pull request for scratch-render (Feature
fencing #82) be taken first
This commit is contained in:
griffpatch 2017-02-09 10:02:45 +00:00
parent d740698e25
commit 464722f7bd

View file

@ -170,6 +170,7 @@ RenderedTarget.prototype.setXY = function (x, y) {
this.x = x;
this.y = y;
if (this.renderer) {
this.renderer.getFencedPositionOfDrawable(this.drawableID, this);
this.renderer.updateDrawableProperties(this.drawableID, {
position: [this.x, this.y]
});