Show the inspector instead of the preset list when selecting an untagged vertex with a parent relation

This commit is contained in:
Quincy Morgan
2020-06-07 20:42:42 -04:00
parent 78b21bfc33
commit 632849b509
+3
View File
@@ -71,6 +71,9 @@ export function uiInspector(context) {
// all existing features except vertices should default to inspector
if (entity.geometry(context.graph()) !== 'vertex') return false;
// show vertex relations if any
if (context.graph().parentRelations(entity).length) return false;
// show vertex issues if there are any
if (context.validator().getEntityIssues(entityID).length) return false;