diff options
author | Yorhel <git@yorhel.nl> | 2021-07-21 04:00:51 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2021-07-21 04:00:56 +0200 |
commit | 1ac32c2d62ab25ef59c01b078b237a67114b6d39 (patch) | |
tree | 54a6ec16835d74277f0d29afd507de4045f5c541 /lib/VNWeb | |
parent | 2d577eb1473e9fad0761eb6a935379efb33b12fd (diff) |
Fix display of blacklist icon + add more colors for list icons
Colors by https://vndb.org/t950.984
The blacklist and dropped icons now have nearly the same color - I'll
have to take the blame for that as the icon never showed up before. :(
Diffstat (limited to 'lib/VNWeb')
-rw-r--r-- | lib/VNWeb/ULists/Lib.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/ULists/Lib.pm b/lib/VNWeb/ULists/Lib.pm index 9127fb7f..b983a13c 100644 --- a/lib/VNWeb/ULists/Lib.pm +++ b/lib/VNWeb/ULists/Lib.pm @@ -33,7 +33,7 @@ sub ulists_widget_ { full => undef, }, sub { my $img = !$v->{on_vnlist} ? 'add' : - (reverse sort map "l$_->{id}", grep $_->{id} >= 1 && $_->{id} <= 5, $v->{vnlist_labels}->@*)[0] || 'unknown'; + (reverse sort map "l$_->{id}", grep $_->{id} >= 1 && $_->{id} <= 6, $v->{vnlist_labels}->@*)[0] || 'unknown'; img_ @_, src => config->{url_static}.'/f/list-'.$img.'.svg', class => "ulist-widget-icon liststatus_icon $img"; } if auth; } |