Skip to content

Commit

Permalink
将按下 Enter 改为「下一个」,增加 Shift+Enter 为「上一个」 #6
Browse files Browse the repository at this point in the history
  • Loading branch information
TCOTC committed Mar 27, 2024
1 parent 668c8a4 commit 735cf0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "siyuan-plugin-hsr-mdzz2048-fork",
"author": "TCOTC",
"url": "https://github.com/TCOTC/siyuan-plugin-hsr-mdzz2048-fork",
"version": "0.2.12-1",
"version": "0.2.13",
"minAppVersion": "2.9.8",
"backends": ["windows", "linux", "darwin"],
"frontends": ["desktop", "browser-desktop"],
Expand Down
4 changes: 2 additions & 2 deletions src/Search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
class="b3-text-field b3-form__icon-input fn__size200"
:placeholder="placeholder"
v-model="searchText"
@keyup.enter=clickNext()
@keyup.shift.enter=clickLast()
@keydown.enter.exact="clickNext()"
@keydown.shift.enter="clickLast()"
@input="handleInput"
/>
</div>
Expand Down

0 comments on commit 735cf0e

Please sign in to comment.