diff --git a/src/STranslate/ViewModels/OCRViewModel.cs b/src/STranslate/ViewModels/OCRViewModel.cs index f59f7eeb..88e3bb97 100644 --- a/src/STranslate/ViewModels/OCRViewModel.cs +++ b/src/STranslate/ViewModels/OCRViewModel.cs @@ -306,11 +306,6 @@ private async Task OCRHandler(byte[] bytes) //更新图片 GetImg = GenerateImg(ocrResult, Bs!); - //取词前移除换行 - getText = - Singleton.Instance.CurrentConfig?.IsRemoveLineBreakGettingWords ?? false && !string.IsNullOrEmpty(getText) - ? StringUtil.RemoveLineBreaks(getText) - : getText; //OCR后自动复制 if (Singleton.Instance.CurrentConfig?.IsOcrAutoCopyText ?? false && !string.IsNullOrEmpty(getText)) Clipboard.SetDataObject(getText, true);