Follow next vertex when deleting, add suppressMenu when vertex following

This commit is contained in:
Bryan Housel
2016-12-09 12:11:24 -05:00
parent 3abf1b5be8
commit dc5da7b480
2 changed files with 7 additions and 5 deletions
+3 -1
View File
@@ -47,7 +47,9 @@ export function operationDelete(selectedIDs, context) {
context.perform(action, annotation);
if (nextSelectedID && context.hasEntity(nextSelectedID)) {
context.enter(modeSelect(context, [nextSelectedID]));
context.enter(
modeSelect(context, [nextSelectedID]).follow(true).suppressMenu(true)
);
} else {
context.enter(modeBrowse(context));
}