mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 03:30:25 +00:00
fix(beastmaster): fixes #2557, adds opacity to previously-owned pets
after they're mounted. You can earn them back again
This commit is contained in:
parent
47bcaf83e7
commit
5caaff1cea
1 changed files with 2 additions and 0 deletions
|
|
@ -58,6 +58,8 @@ script(type='text/ng-template', id='partials/options.inventory.pets.html')
|
|||
.bar(style="width: {{user.items.pets[pet]/.5}}%;")
|
||||
button(class="pet-button pet-not-owned", ng-if='!user.items.pets[pet]')
|
||||
.PixelPaw
|
||||
button(class="pet-button Pet-{{pet}}" ng-if='user.items.pets[pet]<0',style='opacity:0.1;filter:alpha(opacity=10)')
|
||||
//if this could be changed to the opacity talked about? can't figure it out
|
||||
|
||||
h4=env.t('rarePets')
|
||||
menu
|
||||
|
|
|
|||
Loading…
Reference in a new issue