mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
05248d66be
commit
fb0c2e3d6a
7 changed files with 26 additions and 24 deletions
|
|
@ -47,6 +47,7 @@ const focusStack = async (stack: IBackStack) => {
|
|||
docIcon: info.data.rootIcon,
|
||||
callback(tab) {
|
||||
const scrollAttr = saveScroll(stack.protyle, true);
|
||||
scrollAttr.rootId = stack.protyle.block.rootID;
|
||||
scrollAttr.focusId = stack.id;
|
||||
scrollAttr.focusStart = stack.position.start;
|
||||
scrollAttr.focusEnd = stack.position.end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue