From ae48206d2ce79f2bc8ba3507549ac2ddab0b291b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 3 Feb 2013 13:04:14 +0000 Subject: [PATCH] Move the note popups up slightly The default position makes it hard to grab the marker and move it when adding a note, so move themm up a few pixels. --- app/assets/javascripts/index/notes.js.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/index/notes.js.erb b/app/assets/javascripts/index/notes.js.erb index 4e9b50254..c02c633dc 100644 --- a/app/assets/javascripts/index/notes.js.erb +++ b/app/assets/javascripts/index/notes.js.erb @@ -110,6 +110,7 @@ $(document).ready(function () { minWidth: 320, maxWidth: mapSize.y * 1 / 3, maxHeight: mapSize.y * 2 / 3, + offset: new L.Point(0, -3), autoPanPadding: new L.Point(60, 40) }; } -- 2.43.2