mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-04 11:50:15 +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
e92cc285a6
commit
36077ed5ce
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue