Skip to content

Commit

Permalink
🎨 #9410
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Oct 15, 2023
1 parent ae927f9 commit 99e3f12
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/src/layout/dock/Outline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,15 @@ export class Outline extends Model {
});
});
}
},
ctrlClick(element: HTMLElement) {
const id = element.getAttribute("data-node-id");
openFileById({
app: options.app,
id,
action: [Constants.CB_GET_FOCUS, Constants.CB_GET_ALL, Constants.CB_GET_HTML],
zoomIn: true,
});
}
});
// 为了快捷键的 dispatch
Expand Down

0 comments on commit 99e3f12

Please sign in to comment.