mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Upd: Update shop_tab_250814 for server CN, TW
This commit is contained in:
parent
9a819b738d
commit
cdad6ed32e
@ -121,7 +121,8 @@ class ShopUI(UI):
|
||||
inactive_color=(252, 252, 253), inactive_threshold=221, inactive_count=100,
|
||||
)
|
||||
|
||||
@Config.when(SERVER='jp')
|
||||
@cached_property
|
||||
@Config.when(SERVER='None')
|
||||
def shop_tab_250814(self):
|
||||
"""
|
||||
Set with `self.shop_tab.set(main=self, upper={index})`
|
||||
@ -142,27 +143,6 @@ class ShopUI(UI):
|
||||
inactive_color=(38, 92, 121), inactive_threshold=221, inactive_count=100,
|
||||
)
|
||||
|
||||
@cached_property
|
||||
@Config.when(SERVER=None)
|
||||
def shop_tab_250814(self):
|
||||
"""
|
||||
Set with `self.shop_tab.set(main=self, upper={index})`
|
||||
- index
|
||||
1: Monthly shops
|
||||
2: General supply shops
|
||||
"""
|
||||
grids = ButtonGrid(
|
||||
origin=(29, 424), delta=(0, 61),
|
||||
button_shape=(74, 21), grid_shape=(1, 2),
|
||||
name='SHOP_TAB')
|
||||
return Navbar(
|
||||
grids=grids,
|
||||
# white bottom dash
|
||||
active_color=(40, 150, 254), active_threshold=221, active_count=50,
|
||||
# Black bottom dash
|
||||
inactive_color=(75, 150, 200), inactive_threshold=0, inactive_count=100,
|
||||
)
|
||||
|
||||
@cached_property
|
||||
def shop_nav_250814(self):
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user