1.3.7:安卓体验修复(logo 按钮等高同形、识别只识别当前墨迹、移除示例入口、尺寸区置顶)+ 修复编辑对话框控制器释放时序
This commit is contained in:
@@ -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>[];
|
||||
|
||||
Reference in New Issue
Block a user