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,6 +2,8 @@
> 最后更新:2026-10-21
> 维护范围:仅 Windows 本地构建,目标产物 `MD-Preview-windows-x64.exe`
>
> **Agent 必须先读 `agent/AGENTS.md`**:最高优先级是工作区边界,任何工作区外的文件修改都要先停下询问用户。
## 1. 当前状态