mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-04 20:00:17 +01:00
🎨 Support configuring the floating window hover trigger delay https://github.com/siyuan-note/siyuan/pull/17123
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
c84c79fa05
commit
e878e5cc4b
3 changed files with 6 additions and 6 deletions
|
|
@ -321,7 +321,7 @@ func setEditor(c *gin.Context) {
|
|||
v := 620
|
||||
editor.FloatWindowDelay = &v
|
||||
} else {
|
||||
*editor.FloatWindowDelay = max(0, min(10000, *editor.FloatWindowDelay))
|
||||
*editor.FloatWindowDelay = max(0, min(2000, *editor.FloatWindowDelay))
|
||||
}
|
||||
|
||||
oldVirtualBlockRef := model.Conf.Editor.VirtualBlockRef
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue