Use fixed pixel ratio for hit tolerance tests
This commit is contained in:
@@ -36,6 +36,7 @@ describe('ol.renderer.canvas.Map', function() {
|
|||||||
target.style.height = '100px';
|
target.style.height = '100px';
|
||||||
document.body.appendChild(target);
|
document.body.appendChild(target);
|
||||||
map = new ol.Map({
|
map = new ol.Map({
|
||||||
|
pixelRatio: 1,
|
||||||
target: target,
|
target: target,
|
||||||
view: new ol.View({
|
view: new ol.View({
|
||||||
center: [0, 0],
|
center: [0, 0],
|
||||||
|
|||||||
Reference in New Issue
Block a user