Skip to content

Commit

Permalink
update changlog
Browse files Browse the repository at this point in the history
  • Loading branch information
Newdea committed Aug 14, 2023
1 parent 95d3a2e commit c833b2a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
10 changes: 10 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).


## [1.10.1.7]

- 新增:卡片中打开笔记;
- 与主分支同步;
- 新增:在更新插件后,弹出更新说明;
- 新增:设置中可跳转到issue的链接;
- 新增:打赏码;
- 修复:一些小bugs.

## [1.10.1.6]

- 修复 根据标签输出日志文件
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-spaced-repetition",
"version": "1.10.1.6",
"version": "1.10.1.7",
"description": "Fight the forgetting curve by reviewing flashcards & entire notes.",
"main": "main.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion src/flashcard-modal-algo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ export class FlashcardModal extends Modal {
this.openNoteFileButton.addEventListener("click", async () => {
const activeLeaf: WorkspaceLeaf = this.plugin.app.workspace.getLeaf();
await activeLeaf.openFile(this.currentCard.note);
this.app.workspace.setActiveLeaf(activeLeaf);

const activeView: MarkdownView = this.app.workspace.getActiveViewOfType(MarkdownView);
if (activeView) {
Expand All @@ -321,7 +322,7 @@ export class FlashcardModal extends Modal {
});
activeView.editor.scrollIntoView({
from: {
line: this.currentCard.lineNo,
line: this.currentCard.lineNo + 20,
ch: 0,
},
to: {
Expand Down

0 comments on commit c833b2a

Please sign in to comment.