mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 15:31:16 +00:00
display avatar with closed eyes when sleeping
Display the sleeping version, when users are in the inn. CAUTION: For this to work, this pull request will have to be merged first: https://github.com/HabitRPG/habitrpg-shared/pull/269 Otherwise the _sleep images are missing. ;)
This commit is contained in:
parent
40fb17fdaf
commit
49d056fe14
1 changed files with 2 additions and 2 deletions
|
|
@ -19,8 +19,8 @@ mixin avatar(opts)
|
|||
span(class='{{profile.items.gear.costume.back}}', ng-if='profile.preferences.costume')
|
||||
|
||||
// Avatar
|
||||
span(class='skin_{{profile.preferences.skin}}')
|
||||
|
||||
span(class='skin_{{profile.preferences.skin}}', ng-if='!profile.preferences.sleep')
|
||||
span(class='skin_{{profile.preferences.skin}}_sleep', ng-if='profile.preferences.sleep')
|
||||
// Shirt
|
||||
span(class='{{profile.preferences.size}}_shirt_{{profile.preferences.shirt}}')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue