Vanessa 2023-01-17 11:16:48 +08:00
parent d0f011b1a5
commit b659b1f77d
2 changed files with 2 additions and 2 deletions

View file

@ -465,7 +465,7 @@ export const zoomOut = (protyle: IProtyle, id: string, focusId?: string, isPushB
if (isPushBack) {
pushBack();
}
} else {
} else if (protyle.breadcrumb) {
const exitFocusElement = protyle.breadcrumb.element.parentElement.querySelector('[data-type="exit-focus"]');
if (id === protyle.block.rootID) {
exitFocusElement.classList.add("fn__none");