mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
This commit is contained in:
parent
f52a7b703f
commit
ce9ef11af6
2 changed files with 8 additions and 4 deletions
|
|
@ -105,7 +105,8 @@ export const searchKeydown = (app: App, event: KeyboardEvent) => {
|
|||
id,
|
||||
position: "right",
|
||||
action: [...action, Constants.CB_GET_HL],
|
||||
zoomIn
|
||||
zoomIn,
|
||||
scrollPosition: "center"
|
||||
});
|
||||
if (dialog) {
|
||||
dialog.destroy({focus: "false"});
|
||||
|
|
@ -226,7 +227,8 @@ export const searchKeydown = (app: App, event: KeyboardEvent) => {
|
|||
app,
|
||||
id,
|
||||
action: [...action, Constants.CB_GET_HL],
|
||||
zoomIn
|
||||
zoomIn,
|
||||
scrollPosition: "center"
|
||||
});
|
||||
if (dialog) {
|
||||
dialog.destroy({focus: "false"});
|
||||
|
|
|
|||
|
|
@ -821,7 +821,8 @@ export const genSearch = (app: App, config: Config.IUILayoutTabSearchConfig, ele
|
|||
id,
|
||||
action: [...action, Constants.CB_GET_HL],
|
||||
zoomIn,
|
||||
position: "right"
|
||||
position: "right",
|
||||
scrollPosition: "center"
|
||||
});
|
||||
if (closeCB) {
|
||||
closeCB();
|
||||
|
|
@ -860,7 +861,8 @@ export const genSearch = (app: App, config: Config.IUILayoutTabSearchConfig, ele
|
|||
app,
|
||||
id,
|
||||
action: [...action, Constants.CB_GET_HL],
|
||||
zoomIn
|
||||
zoomIn,
|
||||
scrollPosition: "center"
|
||||
});
|
||||
if (closeCB) {
|
||||
closeCB();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue