Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions umalauncher/carrotjuicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,12 +502,15 @@ def handle_response(self, message, is_json=False):
status_ids = data['chara_info']['chara_effect_id_array']
if status_ids:
self.browser.execute_script("""
arguments[0].parentElement.querySelectorAll('div[data-tippy-root] span[class^="utils_linkcolor"]')
.forEach(el => {
if (arguments[1].includes(el.textContent.trim())) {
el.style.color = 'gray';
}
});
if(arguments[0])
{
arguments[0].parentElement.querySelectorAll('div[data-tippy-root] span[class^="utils_linkcolor"]')
.forEach(el => {
if (arguments[1].includes(el.textContent.trim())) {
el.style.color = 'gray';
}
});
}
""", event_element, [self.status_name_dict[i] for i in status_ids if i in self.status_name_dict])

if 'reserved_race_array' in data and 'chara_info' not in data and self.last_helper_data:
Expand Down
2 changes: 1 addition & 1 deletion umalauncher/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import gui
import glob

VERSION = "1.17.14"
VERSION = "1.17.15"

def parse_version(version_string: str):
"""Convert version string to tuple."""
Expand Down