mirror of
https://github.com/rememberber/MooTool.git
synced 2026-12-01 03:18:19 +08:00
将 Vault/Git/MCP/AI、壳层主题密度、25 工具真实闭环与 desktopTest 638 项及 DIFF-065–471 文档/证据一并纳入仓库,便于持续对齐验收;产品窗 IME/冲突与三平台发行仍待验。 Co-authored-by: Cursor <cursoragent@cursor.com>
850 B
850 B
DIFF-255:Vault 树选中滚入视口
对照 Electron
JsonVaultPanel / QuickNoteTool 在 selectedPath 或树节点变化后调用 scrollSelectedIntoView(scrollIntoView({ block: 'nearest' })),保证新建/选中深层文件时行仍可见。
行为
VaultTreeList对当前selectedPath行挂BringIntoViewRequester,在选中路径、条目集合或展开状态变化后bringIntoView()。- 与已有
vaultTreeScrollOffset会话态互补:用户手动滚动仍写回 offset;程序性选中会滚到最近可见区。 jsonEditorAutoFocusEnabled/quickNoteEditorAutoFocusEnabled在vaultContextMenuPath非空时不抢焦点(避免窗口激活关闭右键菜单)。
验证
JsonEditorFocusPolicyTest、QuickNoteEditorFocusPolicyTest./gradlew :composeApp:desktopTest --offline