diff options
Diffstat (limited to 'public/assets/javascripts/rectangles/models/surface.js')
| -rw-r--r-- | public/assets/javascripts/rectangles/models/surface.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/assets/javascripts/rectangles/models/surface.js b/public/assets/javascripts/rectangles/models/surface.js index 3f43ec2..7001ee3 100644 --- a/public/assets/javascripts/rectangles/models/surface.js +++ b/public/assets/javascripts/rectangles/models/surface.js @@ -105,7 +105,7 @@ } Surface.prototype.translate = function (old_bounds, dimension, position, delta) { - + this.clamp_delta( this.bounds, dimension, position, delta ) var new_delta = delta.clone() @@ -180,7 +180,7 @@ intersection = bounds.y.intersection(face.y) if (intersection.length() < height) { // not totally sure if we can clobber the bounds here since this would prevent - // us from looking right later + // us from looking rightwise later break } else { |
