🎨 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:
Daniel 2026-03-02 23:28:49 +08:00
parent c84c79fa05
commit e878e5cc4b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 6 additions and 6 deletions

View file

@ -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