mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
459b700e26
commit
c33e9429cd
8 changed files with 38 additions and 25 deletions
|
|
@ -48,7 +48,7 @@ const focusStack = async (app: App, stack: IBackStack) => {
|
|||
title: info.data.rootTitle,
|
||||
docIcon: info.data.rootIcon,
|
||||
callback(tab) {
|
||||
const scrollAttr = saveScroll(stack.protyle, true);
|
||||
const scrollAttr = saveScroll(stack.protyle, true) as IScrollAttr;
|
||||
scrollAttr.rootId = stack.protyle.block.rootID;
|
||||
scrollAttr.focusId = stack.id;
|
||||
scrollAttr.focusStart = stack.position.start;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue