Use other edge and outside coordinates
This avoids a failing test due to anti-aliasing artifacts in Safari.
This commit is contained in:
@@ -321,9 +321,9 @@
|
|||||||
var cases = [{
|
var cases = [{
|
||||||
msg: "center of point", x: -100, y: 0, id: layer.features[0].id
|
msg: "center of point", x: -100, y: 0, id: layer.features[0].id
|
||||||
}, {
|
}, {
|
||||||
msg: "edge of point", x: -103, y: 3, id: layer.features[0].id
|
msg: "edge of point", x: -106, y: 0, id: layer.features[0].id
|
||||||
}, {
|
}, {
|
||||||
msg: "outside point", x: -110, y: 3, id: null
|
msg: "outside point", x: -110, y: 0, id: null
|
||||||
}, {
|
}, {
|
||||||
msg: "center of line", x: 0, y: 0, id: layer.features[1].id
|
msg: "center of line", x: 0, y: 0, id: layer.features[1].id
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
Reference in New Issue
Block a user