Use touch targets for notes, fix a few bugs with note dragging

(closes #5213)
This commit is contained in:
Bryan Housel
2019-01-04 15:48:39 -05:00
parent 67403a2141
commit cd9203975d
10 changed files with 163 additions and 108 deletions
+5 -1
View File
@@ -112,7 +112,11 @@ export function behaviorHover(context) {
entity = datum;
selector = '.data' + datum.__featurehash__;
} else if (datum instanceof osmNote || datum instanceof krError) {
} else if (datum instanceof krError) {
entity = datum;
selector = '.error-' + datum.id;
} else if (datum instanceof osmNote) {
entity = datum;
selector = '.note-' + datum.id;