Merge pull request #6472 from ahocevar/hittolerance-test

Use fixed pixel ratio for hit tolerance tests
This commit is contained in:
Andreas Hocevar
2017-02-08 18:45:59 +01:00
committed by GitHub

View File

@@ -36,6 +36,7 @@ describe('ol.renderer.canvas.Map', function() {
target.style.height = '100px';
document.body.appendChild(target);
map = new ol.Map({
pixelRatio: 1,
target: target,
view: new ol.View({
center: [0, 0],