yay
This commit is contained in:
@@ -172,7 +172,7 @@ public class TrigerCore : IDisposable
|
||||
string text = el.GetString() ?? "";
|
||||
if (!string.IsNullOrWhiteSpace(text))
|
||||
{
|
||||
RecognizedText += text + " ";
|
||||
RecognizedText = text;
|
||||
// Безопасный проброс в UI поток Avalonia
|
||||
Dispatcher.UIThread.Post(() => OnRecognized?.Invoke(text));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user