Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Support configuring the floating window hover trigger delay https://github.com/siyuan-note/siyuan/pull/17123

Daniel36077ed5ce55
diff --git a/kernel/model/conf.go b/kernel/model/conf.go
index df665b966d..16e015fa33 100644
--- a/kernel/model/conf.go
+++ b/kernel/model/conf.go
@@ -296,7 +296,7 @@ func InitConf() {
v := 620
Conf.Editor.FloatWindowDelay = &v
} else {
- *Conf.Editor.FloatWindowDelay = max(0, min(10000, *Conf.Editor.FloatWindowDelay))
+ *Conf.Editor.FloatWindowDelay = max(0, min(2000, *Conf.Editor.FloatWindowDelay))
}
if conf.MinDynamicLoadBlocks > Conf.Editor.DynamicLoadBlocks {
Conf.Editor.DynamicLoadBlocks = conf.MinDynamicLoadBlocks