Remove delay in opening the edit menu

Don't show the edit menu for multiple selected relations
Streamline edit menu code, replacing the confusing "suppressMenu" system
This commit is contained in:
Quincy Morgan
2020-03-26 12:48:30 -07:00
parent 2a1fbcc3b8
commit 4a67e8c5dc
3 changed files with 56 additions and 78 deletions
-2
View File
@@ -30,8 +30,6 @@ export function uiEditMenu(context) {
var editMenu = function(selection) {
if (!_operations.length) return;
selection.node().focus();
var offset = [0, 0];
var viewport = context.surfaceRect();