diff --git a/server/src/workflow-management/selector.ts b/server/src/workflow-management/selector.ts index 300915bc..2da8dc7e 100644 --- a/server/src/workflow-management/selector.ts +++ b/server/src/workflow-management/selector.ts @@ -391,7 +391,7 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => { function nthChild(node: Node, i: number): Node { return { name: node.name + `:nth-child(${i})`, - + penalty: node.penalty + 1, }; }