Small mobile to desktop resize bug-fix
This commit is contained in:
parent
3a875a023e
commit
f984f33e8b
|
@ -52,6 +52,8 @@ Engine.Shape.prototype = {
|
|||
|
||||
this.size.x = newSize;
|
||||
this.size.y = newSize;
|
||||
this.sizeRef.x = newSize;
|
||||
this.sizeRef.y = newSize;
|
||||
|
||||
this.pos.x = -(newSize / 2);
|
||||
this.pos.y = -(newSize / 2 + offset);
|
||||
|
|
Loading…
Reference in New Issue