fix(desktop): 设置窗口尺寸回归内容实际大小 + 原生贴形阴影 + 红绿灯对齐 + 显式拖拽权限(12A 实测反馈)
ci / server (push) Failing after 10s
ci / design-system (push) Failing after 11s

- 去掉 16px CSS 阴影边距方案(窗口比观感大、外圈灰影、点击区域错位):
  transparent 窗口开 macOS 原生阴影,阴影贴合内容圆角,窗口 440x560
  即卡片本体
- trafficLightPosition {16,12}:红绿灯垂直居中于 36px 自绘顶条,与
  「dudu 设置」标题对齐
- capabilities 显式加 core:window:allow-start-dragging,保证
  data-tauri-drag-region 拖拽可用

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
wangjia
2026-07-11 07:52:23 +08:00
parent b914aebb00
commit 559e224301
4 changed files with 23 additions and 11 deletions
+5 -5
View File
@@ -15,17 +15,17 @@
"label": "settings",
"title": "dudu 设置",
"url": "index.html",
"width": 472,
"height": 592,
"width": 440,
"height": 560,
"resizable": false,
"visible": false,
"titleBarStyle": "Overlay",
"hiddenTitle": true,
"transparent": true,
"shadow": false,
"shadow": true,
"trafficLightPosition": {
"x": 30,
"y": 28
"x": 16,
"y": 12
}
},
{