diff options
Diffstat (limited to 'public/assets/javascripts/rectangles')
| -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 f7fe890..eebd566 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() @@ -182,7 +182,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 { |
