1.3.7:安卓体验修复(logo 按钮等高同形、识别只识别当前墨迹、移除示例入口、尺寸区置顶)+ 修复编辑对话框控制器释放时序

This commit is contained in:
2026-10-11 12:13:05 +08:00
parent 80b9bae93e
commit 32d4181dec
30 changed files with 162 additions and 108 deletions
+15
View File
@@ -1486,6 +1486,21 @@ class AppController extends ChangeNotifier {
archFit();
}
/// 识别当前墨迹(不载入示例):把画布上待识别的笔迹逐笔转化。
///
/// 顶部「识别(N)」按钮与手动确认识别模式使用;没有墨迹时只给提示。
void archRecognizeInk() {
if (arch.strokes.isEmpty) {
_status = '没有待识别的墨迹(先用「手绘」画几笔)';
notifyListeners();
return;
}
_archSelIds = const <String>[];
_archPlayToken++;
_status = '识别中:逐笔转化(${arch.strokes.length} 笔)…';
notifyListeners();
}
/// 清空架构图。
void archClear() {
_archSelIds = const <String>[];