🎨 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-03 16:51:21 +08:00
parent e92cc285a6
commit 36077ed5ce
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

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