mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 08:00:13 +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,
|
id,
|
||||||
position: "right",
|
position: "right",
|
||||||
action: [...action, Constants.CB_GET_HL],
|
action: [...action, Constants.CB_GET_HL],
|
||||||
zoomIn
|
zoomIn,
|
||||||
|
scrollPosition: "center"
|
||||||
});
|
});
|
||||||
if (dialog) {
|
if (dialog) {
|
||||||
dialog.destroy({focus: "false"});
|
dialog.destroy({focus: "false"});
|
||||||
|
|
@ -226,7 +227,8 @@ export const searchKeydown = (app: App, event: KeyboardEvent) => {
|
||||||
app,
|
app,
|
||||||
id,
|
id,
|
||||||
action: [...action, Constants.CB_GET_HL],
|
action: [...action, Constants.CB_GET_HL],
|
||||||
zoomIn
|
zoomIn,
|
||||||
|
scrollPosition: "center"
|
||||||
});
|
});
|
||||||
if (dialog) {
|
if (dialog) {
|
||||||
dialog.destroy({focus: "false"});
|
dialog.destroy({focus: "false"});
|
||||||
|
|
|
||||||
|
|
@ -821,7 +821,8 @@ export const genSearch = (app: App, config: Config.IUILayoutTabSearchConfig, ele
|
||||||
id,
|
id,
|
||||||
action: [...action, Constants.CB_GET_HL],
|
action: [...action, Constants.CB_GET_HL],
|
||||||
zoomIn,
|
zoomIn,
|
||||||
position: "right"
|
position: "right",
|
||||||
|
scrollPosition: "center"
|
||||||
});
|
});
|
||||||
if (closeCB) {
|
if (closeCB) {
|
||||||
closeCB();
|
closeCB();
|
||||||
|
|
@ -860,7 +861,8 @@ export const genSearch = (app: App, config: Config.IUILayoutTabSearchConfig, ele
|
||||||
app,
|
app,
|
||||||
id,
|
id,
|
||||||
action: [...action, Constants.CB_GET_HL],
|
action: [...action, Constants.CB_GET_HL],
|
||||||
zoomIn
|
zoomIn,
|
||||||
|
scrollPosition: "center"
|
||||||
});
|
});
|
||||||
if (closeCB) {
|
if (closeCB) {
|
||||||
closeCB();
|
closeCB();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue