mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 479821 - fix wsRect.intersects bustage r=stuart
This commit is contained in:
parent
cef51c7aef
commit
f70cbbcdf2
@ -262,7 +262,7 @@ wsRect.prototype = {
|
||||
(other._l <= this._l && other._r >= this._r);
|
||||
let yok = (other._t > this._t && other._t < this._b) ||
|
||||
(other._b > this._t && other._b < this._b) ||
|
||||
(other._t <= this._t && other._t >= this._b);
|
||||
(other._t <= this._t && other._b >= this._b);
|
||||
return xok && yok;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user