Kaynağa Gözat

Merge pull request #657 from Gan1Ser/dev-upstream

fix(WeeklyTrifles):Map sharing wechat icon position changed
huangrunheng 1 yıl önce
ebeveyn
işleme
70e8bba56d

+ 1 - 1
tasks/WeeklyTrifles/assets.py

@@ -61,7 +61,7 @@ class WeeklyTriflesAssets:
 	# 百妖风物鉴 
 	I_WT_SCROLL_2 = RuleImage(roi_front=(1182,24,24,122), roi_back=(1163,12,63,155), threshold=0.7, method="Template matching", file="./tasks/WeeklyTrifles/collect/collect_wt_scroll_2.png")
 	# 微信分享 
-	I_WT_COLLECT_WECHAT = RuleImage(roi_front=(640,617,70,63), roi_back=(640,617,70,63), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/collect/collect_wt_collect_wechat.png")
+	I_WT_COLLECT_WECHAT = RuleImage(roi_front=(386,619,70,63), roi_back=(386,619,70,63), threshold=0.8, method="Template matching", file="./tasks/WeeklyTrifles/collect/collect_wt_collect_wechat.png")
 	# 二维码 
 	I_WT_QR_CODE = RuleImage(roi_front=(473,161,336,96), roi_back=(404,112,483,168), threshold=0.65, method="Template matching", file="./tasks/WeeklyTrifles/collect/collect_wt_qr_code.png")
 

BIN
tasks/WeeklyTrifles/collect/collect_wt_collect_wechat.png


+ 2 - 2
tasks/WeeklyTrifles/collect/image.json

@@ -47,8 +47,8 @@
   {
     "itemName": "wt_collect_wechat",
     "imageName": "collect_wt_collect_wechat.png",
-    "roiFront": "640,617,70,63",
-    "roiBack": "640,617,70,63",
+    "roiFront": "386,619,70,63",
+    "roiBack": "386,619,70,63",
     "method": "Template matching",
     "threshold": 0.8,
     "description": "微信分享"