Oopsie, small bugfix for bug I introduced to wsRect::intersects in my last commit.

This commit is contained in:
Roy Frostig 2009-07-30 18:17:15 -07:00
parent dbd00fb9ae
commit b87ca238fa

View File

@ -217,7 +217,7 @@ Util.Rect.prototype = {
let left = this.left;
let right = this.right;
let otherleft = other.left;
let otherright = otherright;
let otherright = other.right;
let xok = (otherleft > left && otherleft < right) ||
(otherright > left && otherright < right) ||
@ -465,7 +465,7 @@ wsRect.prototype = {
let left = this.left;
let right = this.right;
let otherleft = other.left;
let otherright = otherright;
let otherright = other.right;
let xok = (otherleft > left && otherleft < right) ||
(otherright > left && otherright < right) ||