mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Don't show tooltips when the mouse has buttons pressed
This commit is contained in:
@@ -169,6 +169,10 @@ export function uiPopover(klass) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// don't show if buttons are pressed, e.g. during click and drag of map
|
||||
if (d3_event.buttons !== 0) return;
|
||||
|
||||
show.apply(this, arguments);
|
||||
});
|
||||
anchor.on(_pointerPrefix + 'leave.popover', function() {
|
||||
|
||||
Reference in New Issue
Block a user