mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 15:38:59 +00:00
Merge branch 'release' into develop
This commit is contained in:
commit
7e027a1a25
8 changed files with 11 additions and 7 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "habitica",
|
||||
"version": "4.116.4",
|
||||
"version": "4.116.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "habitica",
|
||||
"description": "A habit tracker app which treats your goals like a Role Playing Game.",
|
||||
"version": "4.116.4",
|
||||
"version": "4.116.5",
|
||||
"main": "./website/server/index.js",
|
||||
"dependencies": {
|
||||
"@google-cloud/trace-agent": "^4.0.0",
|
||||
|
|
|
|||
|
|
@ -78,9 +78,9 @@ context('avatar.vue', () => {
|
|||
};
|
||||
});
|
||||
|
||||
it('defaults to 28px', () => {
|
||||
it('defaults to 27px', () => {
|
||||
vm.avatarOnly = true;
|
||||
expect(vm.paddingTop).to.equal('28px');
|
||||
expect(vm.paddingTop).to.equal('27px');
|
||||
});
|
||||
|
||||
it('is 24px if user has a pet', () => {
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
@import '~client/assets/scss/colors.scss';
|
||||
|
||||
.avatar {
|
||||
width: 140px;
|
||||
width: 141px;
|
||||
height: 147px;
|
||||
image-rendering: pixelated;
|
||||
position: relative;
|
||||
|
|
@ -136,7 +136,7 @@ export default {
|
|||
return this.overrideTopPadding;
|
||||
}
|
||||
|
||||
let val = '28px';
|
||||
let val = '27px';
|
||||
|
||||
if (!this.avatarOnly) {
|
||||
if (this.member.items.currentPet) val = '24px';
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@
|
|||
margin: 0 auto;
|
||||
|
||||
.character-sprites span {
|
||||
left: 25px;
|
||||
left: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -920,6 +920,7 @@ export default {
|
|||
}
|
||||
},
|
||||
async submit () {
|
||||
if (!this.task.title) return;
|
||||
if (this.newChecklistItem) this.addChecklistItem();
|
||||
|
||||
// TODO Fix up permissions on task.group so we don't have to keep doing these hacks
|
||||
|
|
|
|||
|
|
@ -298,6 +298,7 @@
|
|||
|
||||
"hatchingPotionNotes": "Pour this on an egg, and it will hatch as a <%= potText(locale) %> pet.",
|
||||
"premiumPotionAddlNotes": "Not usable on quest pet eggs. Available for purchase until <%= date(locale) %>.",
|
||||
"premiumPotionUnlimitedNotes": "Not usable on quest pet eggs.",
|
||||
|
||||
"foodMeat": "Meat",
|
||||
"foodMeatThe": "the Meat",
|
||||
|
|
|
|||
|
|
@ -198,6 +198,7 @@ let premium = {
|
|||
text: t('hatchingPotionBronze'),
|
||||
limited: true,
|
||||
canBuy: hasQuestAchievementFunction('bronze'),
|
||||
_addlNotes: t('premiumPotionUnlimitedNotes'),
|
||||
},
|
||||
Watery: {
|
||||
value: 2,
|
||||
|
|
@ -210,6 +211,7 @@ let premium = {
|
|||
text: t('hatchingPotionSilver'),
|
||||
limited: true,
|
||||
canBuy: hasQuestAchievementFunction('silver'),
|
||||
_addlNotes: t('premiumPotionUnlimitedNotes'),
|
||||
},
|
||||
Shadow: {
|
||||
value: 2,
|
||||
|
|
|
|||
Loading…
Reference in a new issue