Files
MooTool/next-compose/docs/diff/167-encode-three-pane-import.md
RememBerBerandCursor c834db2a83 feat(next-compose): 对照 Electron 落地 F00–F25 与 A01–A03 主体能力
将 Vault/Git/MCP/AI、壳层主题密度、25 工具真实闭环与 desktopTest 638 项及 DIFF-065–471 文档/证据一并纳入仓库,便于持续对齐验收;产品窗 IME/冲突与三平台发行仍待验。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 06:51:45 +08:00

16 lines
702 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# DIFF-167:编码解码三列分栏与 Electron 迁入
## 背景
Electron `EncodeTool` 使用 `storageKey="encode-panes"`(三列比例 1 : 0.32 : 1,最小 240 / 120 / 240)。compose 此前左/右 `weight`、中间固定 132dp,无法持久化拖动结果,设置迁入也未覆盖。
## 行为
- **F13**:左输入 / 中操作条 / 右输出各列可拖(双 `VerticalPaneHandle`),宽度写入 `layout.paneSizes[encode]` 索引 0(左)与 1(中)。
- **A03**:`ElectronPaneSizeImport.mapIoThreePane` 处理 `encode-panes` 三列比例 → compose dp。
## 验证
- `ElectronPaneSizeImportTest.convertsEncodeThreePaneRatios`
- `./gradlew :composeApp:desktopTest --offline`