Преглед на файлове

fix(issue #31): Replace click button

runhey преди 3 години
родител
ревизия
91d5a2f58b
променени са 3 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 1 1
      tasks/Component/GeneralBattle/assets.py
  2. 2 2
      tasks/Component/GeneralBattle/finish_click.json
  3. 1 1
      tasks/GameUi/page.py

+ 1 - 1
tasks/Component/GeneralBattle/assets.py

@@ -18,7 +18,7 @@ class GeneralBattleAssets:
 	# description 
 	# description 
 	C_WIN_3 = RuleClick(roi_front=(1059,114,206,468), roi_back=(1059,114,206,468), name="win_3")
 	C_WIN_3 = RuleClick(roi_front=(1059,114,206,468), roi_back=(1059,114,206,468), name="win_3")
 	# description 
 	# description 
-	C_REWARD_1 = RuleClick(roi_front=(546,546,385,144), roi_back=(546,546,385,144), name="reward_1")
+	C_REWARD_1 = RuleClick(roi_front=(606,603,325,87), roi_back=(606,603,325,87), name="reward_1")
 	# description 
 	# description 
 	C_REWARD_2 = RuleClick(roi_front=(25,134,224,472), roi_back=(25,134,224,472), name="reward_2")
 	C_REWARD_2 = RuleClick(roi_front=(25,134,224,472), roi_back=(25,134,224,472), name="reward_2")
 	# description 
 	# description 

+ 2 - 2
tasks/Component/GeneralBattle/finish_click.json

@@ -19,8 +19,8 @@
   },
   },
   {
   {
     "itemName": "reward_1",
     "itemName": "reward_1",
-    "roiFront": "546,546,385,144",
-    "roiBack": "546,546,385,144",
+    "roiFront": "606,603,325,87",
+    "roiBack": "606,603,325,87",
     "description": "description"
     "description": "description"
   },
   },
   {
   {

+ 1 - 1
tasks/GameUi/page.py

@@ -132,7 +132,7 @@ page_daily.link(button=G.I_BACK_Y, destination=page_main)
 page_main.link(button=G.I_MAIN_GOTO_DAILY, destination=page_daily)
 page_main.link(button=G.I_MAIN_GOTO_DAILY, destination=page_daily)
 # 商店 mall
 # 商店 mall
 page_mall = Page(G.I_CHECK_MALL)
 page_mall = Page(G.I_CHECK_MALL)
-page_mall.link(button=G.I_BACK_Y, destination=page_main)
+page_mall.link(button=G.I_BACK_BLUE, destination=page_main)
 page_main.link(button=G.I_MAIN_GOTO_MALL, destination=page_mall)
 page_main.link(button=G.I_MAIN_GOTO_MALL, destination=page_mall)
 # 阴阳寮 guild
 # 阴阳寮 guild
 page_guild = Page(G.I_CHECK_GUILD)
 page_guild = Page(G.I_CHECK_GUILD)