diff options
| author | Nathan Dinsmore <nathan@users.noreply.github.com> | 2015-06-17 20:46:54 -0400 |
|---|---|---|
| committer | Nathan Dinsmore <nathan@users.noreply.github.com> | 2015-06-17 20:46:54 -0400 |
| commit | 6a82960cf77f9eac16c9a1ce13f360d80469799d (patch) | |
| tree | 92f19e7db55f03b9215081e694972cb401818278 /objects.js | |
| parent | d5761b074d0c98c047e7319cf2243a39c7a6a303 (diff) | |
| download | snap-6a82960cf77f9eac16c9a1ce13f360d80469799d.tar.gz snap-6a82960cf77f9eac16c9a1ce13f360d80469799d.zip | |
Optimize moveBy and friends
This results in realtime speed for dragging where I used to get 10-15 fps before this change.
Diffstat (limited to 'objects.js')
| -rw-r--r-- | objects.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3290,7 +3290,7 @@ SpriteMorph.prototype.nestingBounds = function () { // SpriteMorph motion primitives -Morph.prototype.setPosition = function (aPoint, justMe) { +SpriteMorph.prototype.setPosition = function (aPoint, justMe) { // override the inherited default to make sure my parts follow // unless it's justMe var delta = aPoint.subtract(this.topLeft()); |
