mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Oopsie, small bugfix for bug I introduced to wsRect::intersects in my last commit.
This commit is contained in:
parent
dbd00fb9ae
commit
b87ca238fa
@ -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) ||
|
||||
|
Loading…
Reference in New Issue
Block a user