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>
16 lines
702 B
Markdown
16 lines
702 B
Markdown
# 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`
|