Skip to content

Commit

Permalink
fixes: avatar changes of pet / mount
Browse files Browse the repository at this point in the history
  • Loading branch information
negue committed Jun 25, 2017
1 parent a009fae commit eca7d6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions website/client/components/avatar.vue
@@ -1,7 +1,7 @@
<template lang="pug">
.avatar(:style="{width, height, paddingTop}", :class="backgroundClass")
.character-sprites
template(v-if="!avatarOnly" v-once)
template(v-if="!avatarOnly")
// Mount Body
span(v-if="member.items.currentMount", :class="'Mount_Body_' + member.items.currentMount")

Expand Down Expand Up @@ -35,7 +35,7 @@
// Resting
span.zzz(v-if="member.preferences.sleep")

template(v-if="!avatarOnly" v-once)
template(v-if="!avatarOnly")
// Mount Head
span(v-if="member.items.currentMount", :class="'Mount_Head_' + member.items.currentMount")
// Pet
Expand Down Expand Up @@ -168,4 +168,4 @@ export default {
},
},
};
</script>
</script>
3 changes: 2 additions & 1 deletion website/client/components/inventory/stable/index.vue
Expand Up @@ -141,7 +141,8 @@
:itemContentClass="mount.isOwned() ? ('Mount_Icon_' + mount.key) : 'PixelPaw GreyedOut'",
:key="mount.key",
:popoverPosition="'top'",
:emptyItem="!mount.isOwned()"
:emptyItem="!mount.isOwned()",
:showPopover="mount.isOwned()",
)
span(slot="popoverContent")
h4.popover-content-title {{ mount.name }}
Expand Down

0 comments on commit eca7d6f

Please sign in to comment.