mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Clicking a midpoint should be treated as a click on the parent way
This commit is contained in:
@@ -75,9 +75,10 @@ export function behaviorSelect(context) {
|
||||
|
||||
|
||||
if (datum && datum.type === 'midpoint') {
|
||||
// do nothing..
|
||||
datum = datum.parents[0];
|
||||
}
|
||||
|
||||
} else if (!(datum instanceof osmEntity)) {
|
||||
if (!(datum instanceof osmEntity)) {
|
||||
// clicked nothing..
|
||||
if (!isMultiselect && mode.id !== 'browse') {
|
||||
context.enter(modeBrowse(context));
|
||||
|
||||
Reference in New Issue
Block a user