From 6f45c4e8bea9fdcd84e9da8c703400afa5364d55 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sat, 3 Aug 2024 08:54:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=83=8C=E6=99=AF=E5=AE=BD?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/PhoneDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index 9ce68663..aca19d95 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -1567,7 +1567,7 @@ bool CPhoneDevice::OnImageReady(cv::Mat& mat) textSize = ft2->getTextSize(str, fs, -1, &baseline); cv::Point lt(0, mat.rows - fs - 20 * ratio); cv::Point lt2(0, lt.y - 2 * ratio); - cv::Point rb(0 + textSize.width, lt2.y + textSize.height + 8 * ratio); + cv::Point rb(0 + textSize.width + 2, lt2.y + textSize.height + 8 * ratio); if (rb.x > (int)width - 1) {