This commit is contained in:
Vanessa 2023-03-03 23:57:51 +08:00
parent 1b5a049e1a
commit 1a0f176a05
3 changed files with 16 additions and 16 deletions

View file

@ -54,8 +54,8 @@ const focusStack = async (stack: IBackStack) => {
callback(tab) {
const scrollAttr = saveScroll(stack.protyle, true);
scrollAttr.focusId = stack.id;
scrollAttr.focusStart = stack.position.start
scrollAttr.focusEnd = stack.position.end
scrollAttr.focusStart = stack.position.start;
scrollAttr.focusEnd = stack.position.end;
const editor = new Editor({
tab,
scrollAttr,