OCR左边界33%→30%继续左移微调
This commit is contained in:
+1
-1
@@ -571,7 +571,7 @@ class MessageMonitor:
|
|||||||
self._ensure_foreground(hwnd)
|
self._ensure_foreground(hwnd)
|
||||||
time.sleep(0.15)
|
time.sleep(0.15)
|
||||||
# 左边界调到 33%,捕获更靠左的消息文字
|
# 左边界调到 33%,捕获更靠左的消息文字
|
||||||
cap_left = int(left + win_w * 0.33)
|
cap_left = int(left + win_w * 0.30)
|
||||||
cap_top = top + max(40, int(win_h * 0.04)) # 标题栏下方
|
cap_top = top + max(40, int(win_h * 0.04)) # 标题栏下方
|
||||||
cap_right = int(left + win_w * 0.95) # 跳过滚动条
|
cap_right = int(left + win_w * 0.95) # 跳过滚动条
|
||||||
cap_bottom = bottom - max(100, int(win_h * 0.10)) # 输入框上方
|
cap_bottom = bottom - max(100, int(win_h * 0.10)) # 输入框上方
|
||||||
|
|||||||
Reference in New Issue
Block a user