Add subprocess match trigger (#10101)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2025-10-16 12:17:51 +07:00
committed by GitHub
parent c3d15734eb
commit db3bd4d39e
28 changed files with 422 additions and 30 deletions
+4 -3
View File
@@ -742,6 +742,10 @@ export function findAttributeEditorByAttribute (client: Client, attribute: AnyAt
const hierarchy = client.getHierarchy()
if (attribute === undefined) return
if (attribute.editor != null) {
return attribute.editor
}
if (attribute.type._class === core.class.TypeAny) {
const _type: TypeAny = attribute.type as TypeAny<AnyComponent>
return _type.editor ?? _type.presenter
@@ -769,9 +773,6 @@ export function findAttributeEditorByAttribute (client: Client, attribute: AnyAt
}
}
if (attribute.editor != null) {
return attribute.editor
}
const editorMixin = hierarchy.classHierarchyMixin(presenterClass.attrClass, mixin)
if (editorMixin?.inlineEditor === undefined) {