feat: zoom content with Ctrl+wheel (5% step, 50-300%)

- Ctrl+wheel zooms preview and editor; 90ms throttle; preventDefault stops WebView2 page zoom
- Range widened to 50-300%, step unified at 5% for wheel, toolbar buttons and Ctrl +/-
- No mouse-anchor (same scrolling behavior as button zoom)
- Add agent/AGENTS.md: workspace boundary is the top rule; build/test temp dirs stay in target/
- build.ps1 redirects TEMP/TMP into target/tmp
This commit is contained in:
2026-10-21 16:23:00 +08:00
parent 1191cdd53b
commit 1e8cbea902
7 changed files with 94 additions and 9 deletions

View File

@@ -2,10 +2,15 @@
这里是本项目的“Agent 附属区”:文档、构建/冒烟脚本、测试夹具与验证记录。应用代码仍在 `src/`。
## 规则
维护本仓库前先读 [`AGENTS.md`](AGENTS.md):**最高优先级是工作区边界——任何工作区外的文件修改都必须先停下询问用户。**
## 目录
| 路径 | 用途 |
|---|---|
| `AGENTS.md` | Agent 运行规则(工作区边界、改动流程) |
| `docs/HANDOFF.md` | 主交接文档(工具链、构建、坑、验收) |
| `docs/scan-2026-10-21.md` | 代码扫描:残留、bug、修复建议 |
| `docs/roadmap.md` | 功能路线图与验收标准 |