Merge branch 'master' into validation

This commit is contained in:
Quincy Morgan
2019-02-11 10:23:50 -05:00
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -239,6 +239,8 @@ export function modeSelect(context, selectedIDs) {
mode.enter = function() {
if (!checkSelectedIDs()) return;
context.features().forceVisible(selectedIDs);
var operations = _without(_values(Operations), Operations.operationDelete)
.map(function(o) { return o(selectedIDs, context); })
.filter(function(o) { return o.available(); });
@@ -546,6 +548,7 @@ export function modeSelect(context, selectedIDs) {
context.map().on('drawn.select', null);
context.ui().sidebar.hide();
context.features().forceVisible([]);
};
+1
View File
@@ -78,6 +78,7 @@ export function presetIndex() {
};
all.allowsVertex = function(entity, resolver) {
if (entity.type !== 'node') return false;
return resolver.transient(entity, 'vertexMatch', function() {
var vertexPresets = _index.vertex;
var match;