diff --git a/voicegardens/static/voicegardens.js b/voicegardens/static/voicegardens.js index 38ed823..7c18213 100644 --- a/voicegardens/static/voicegardens.js +++ b/voicegardens/static/voicegardens.js @@ -272,8 +272,8 @@ class GeneratedShape { /** * Move the shape vectors. **/ - this.deltaX = this.destX - this.centerX; - this.deltaY = this.destY - this.centerY; + this.deltaX = mouseX - this.centerX; + this.deltaY = mouseY - this.centerY; this.deltaX *= this.springing; this.deltaY *= this.springing;