Add ability to select custom data

This commit is contained in:
Bryan Housel
2018-08-25 11:14:04 -04:00
parent 0a82ab125e
commit cc938698e8
12 changed files with 158 additions and 69 deletions
+2 -7
View File
@@ -451,9 +451,7 @@ export function modeSelect(context, selectedIDs) {
}
});
behaviors.forEach(function(behavior) {
context.install(behavior);
});
behaviors.forEach(context.install);
keybinding
.on(['[', 'pgup'], previousVertex)
@@ -522,10 +520,7 @@ export function modeSelect(context, selectedIDs) {
if (timeout) window.clearTimeout(timeout);
if (inspector) wrap.call(inspector.close);
behaviors.forEach(function(behavior) {
context.uninstall(behavior);
});
behaviors.forEach(context.uninstall);
keybinding.off();
closeMenu();
editMenu = undefined;