@dra2020/baseclient 1.0.24 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/baseclient.js +1 -1
- package/dist/baseclient.js.map +1 -1
- package/lib/poly/boundbox.ts +1 -1
- package/package.json +1 -1
package/lib/poly/boundbox.ts
CHANGED
|
@@ -103,5 +103,5 @@ export function boundboxIntersects(bb1: BoundBox, bb2: BoundBox): boolean
|
|
|
103
103
|
|
|
104
104
|
export function boundboxContains(bb: BoundBox, x: number, y: number): boolean
|
|
105
105
|
{
|
|
106
|
-
return !(bb.left >= x || bb.right < x || bb.top
|
|
106
|
+
return !(bb.left >= x || bb.right < x || bb.top >= y || bb.bottom < y);
|
|
107
107
|
}
|