mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Upd: Full template of CLICK_PRESERVATION
This commit is contained in:
parent
a24fa14550
commit
5d6768ba80
BIN
assets/share/rogue/path/CLICK_PRESERVATION.2.png
Normal file
BIN
assets/share/rogue/path/CLICK_PRESERVATION.2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
@ -164,13 +164,22 @@ CLICK_NIHILITY = ButtonWrapper(
|
|||||||
)
|
)
|
||||||
CLICK_PRESERVATION = ButtonWrapper(
|
CLICK_PRESERVATION = ButtonWrapper(
|
||||||
name='CLICK_PRESERVATION',
|
name='CLICK_PRESERVATION',
|
||||||
share=Button(
|
share=[
|
||||||
file='./assets/share/rogue/path/CLICK_PRESERVATION.png',
|
Button(
|
||||||
area=(65, 340, 88, 405),
|
file='./assets/share/rogue/path/CLICK_PRESERVATION.png',
|
||||||
search=(45, 320, 108, 425),
|
area=(65, 340, 88, 405),
|
||||||
color=(31, 34, 44),
|
search=(45, 320, 108, 425),
|
||||||
button=(65, 340, 88, 405),
|
color=(31, 34, 44),
|
||||||
),
|
button=(65, 340, 88, 405),
|
||||||
|
),
|
||||||
|
Button(
|
||||||
|
file='./assets/share/rogue/path/CLICK_PRESERVATION.2.png',
|
||||||
|
area=(150, 345, 200, 395),
|
||||||
|
search=(130, 325, 220, 415),
|
||||||
|
color=(71, 75, 85),
|
||||||
|
button=(150, 345, 200, 395),
|
||||||
|
),
|
||||||
|
],
|
||||||
)
|
)
|
||||||
CLICK_REMEMBRANCE = ButtonWrapper(
|
CLICK_REMEMBRANCE = ButtonWrapper(
|
||||||
name='CLICK_REMEMBRANCE',
|
name='CLICK_REMEMBRANCE',
|
||||||
|
@ -59,7 +59,7 @@ class RoguePathHandler(RogueUI):
|
|||||||
}
|
}
|
||||||
# Path list is sliding, expand search area
|
# Path list is sliding, expand search area
|
||||||
for b in buttons.values():
|
for b in buttons.values():
|
||||||
b.load_search(area_pad_around(b.area, pad=(-100, -5, -100, -5)))
|
b.load_search(area_pad_around(b.area, pad=(-150, -5, -150, -5)))
|
||||||
return buttons
|
return buttons
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
|
Loading…
Reference in New Issue
Block a user