mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-31 12:19:31 +02:00
Use touch targets for notes, fix a few bugs with note dragging
(closes #5213)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user