diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts index a980d9a77..de0c0f4ad 100644 --- a/app/src/menus/protyle.ts +++ b/app/src/menus/protyle.ts @@ -2492,6 +2492,7 @@ export const setFold = (protyle: IProtyle, nodeElement: Element, isOpen?: boolea } } clearSelect(["img", "av"], nodeElement); + scrollCenter(protyle, nodeElement); } const id = nodeElement.getAttribute("data-node-id"); const doOperations: IOperation[] = [];