From 091818da5d4619e02f3093cff6ac9ca31f0ea84e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 11 Oct 2018 18:52:00 +0100 Subject: [PATCH] Adjust minimum changeset bbox to 20 pixels --- app/assets/javascripts/index/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/index/history.js b/app/assets/javascripts/index/history.js index 51d854ad9..b0f34a2ad 100644 --- a/app/assets/javascripts/index/history.js +++ b/app/assets/javascripts/index/history.js @@ -101,7 +101,7 @@ OSM.History = function(map) { topRight = map.project(L.latLng(changeset.bbox.maxlat, changeset.bbox.maxlon)), width = topRight.x - bottomLeft.x, height = bottomLeft.y - topRight.y, - minSize = 40; // Min width/height of changeset in pixels + minSize = 20; // Min width/height of changeset in pixels if (width < minSize) { bottomLeft.x -= ((minSize - width) / 2); -- 2.39.5