From: Tom Hughes Date: Thu, 11 Oct 2018 17:52:00 +0000 (+0100) Subject: Adjust minimum changeset bbox to 20 pixels X-Git-Tag: live~3737 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/091818da5d4619e02f3093cff6ac9ca31f0ea84e Adjust minimum changeset bbox to 20 pixels --- 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);