mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Close the edit menu if a pointer goes down in the map
This commit is contained in:
@@ -95,6 +95,8 @@ export function behaviorSelect(context) {
|
||||
|
||||
if (d3_event.buttons && d3_event.buttons !== 1) return;
|
||||
|
||||
context.ui().closeEditMenu();
|
||||
|
||||
_longPressTimeout = window.setTimeout(didLongPress, 500, id, 'longdown-' + (d3_event.pointerType || 'mouse'));
|
||||
|
||||
_downPointers[id] = {
|
||||
|
||||
Reference in New Issue
Block a user