mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-11 10:39:56 -05:00
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:
parent
d740698e25
commit
464722f7bd
1 changed files with 1 additions and 0 deletions
|
@ -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]
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue