This commit is contained in:
Vanessa 2022-05-31 12:02:07 +08:00
parent f4523d60d2
commit e7268cc011

View file

@ -112,7 +112,7 @@ const focusStack = async (stack: IBackStack) => {
}
if (blockElement && !stack.protyle.block.showAll) {
focusByOffset(blockElement, stack.position.start, stack.position.end);
scrollCenter(stack.protyle, blockElement);
scrollCenter(stack.protyle, blockElement, true);
return true;
}
// 缩放不一致