build: 发布 V1.0.6(安卓 APK + Windows exe)

- 安卓工具栏缩放 0.6 → 0.8(图标按钮约 27dp,约为原版 80%)
- 版本号 1.0.6+7;release/ 与 dist/ 同步新构建
This commit is contained in:
2026-10-08 14:04:39 +08:00
parent 1b0f8c86b3
commit 8e17adda51
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -74,9 +74,9 @@ class _AppShellState extends State<AppShell> {
return math.min(340.0, math.max(240.0, w * 0.26));
}
/// 工具栏整体缩放系数:触屏平台(安卓 / iOS)缩小到 60%,
/// 工具栏整体缩放系数:触屏平台(安卓 / iOS)缩小到 80%,
/// 一排即可放下全部操作且不影响点按;桌面端保持原尺寸。
double get _toolScale => (Platform.isAndroid || Platform.isIOS) ? 0.6 : 1.0;
double get _toolScale => (Platform.isAndroid || Platform.isIOS) ? 0.8 : 1.0;
/// 工具栏字号:随 [_toolScale] 缩放并保底 9,兼顾紧凑与可读。
double _toolFont(double size) => math.max(9.0, size * _toolScale);
+1 -1
View File
@@ -2124,7 +2124,7 @@ class HelpDialog extends StatelessWidget {
Text('时序图设计 · Sequence Diagram Studio',
style: TextStyle(color: t.text, fontSize: 15, fontWeight: FontWeight.w700)),
const SizedBox(height: 4),
Text('V1.0.5(${android ? '安卓版' : 'Windows 版'})',
Text('V1.0.6(${android ? '安卓版' : 'Windows 版'})',
style: TextStyle(color: t.dim, fontSize: 12)),
],
),