mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user