From 2eab303457ddd295a9184cfd513fe6c097938f30 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Sat, 4 May 2019 13:31:46 +0800 Subject: [PATCH] Fix previewing alex textures --- resources/assets/src/components/Previewer.vue | 7 +++++++ resources/assets/src/views/skinlib/Show.vue | 1 + resources/assets/src/views/skinlib/Upload.vue | 1 + resources/assets/src/views/user/Closet.vue | 2 ++ resources/assets/src/views/user/Players.vue | 2 ++ resources/misc/changelogs/en/4.1.4.md | 1 + resources/misc/changelogs/zh_CN/4.1.4.md | 1 + 7 files changed, 15 insertions(+) diff --git a/resources/assets/src/components/Previewer.vue b/resources/assets/src/components/Previewer.vue index c7717bd4..bdfa21d8 100644 --- a/resources/assets/src/components/Previewer.vue +++ b/resources/assets/src/components/Previewer.vue @@ -58,6 +58,10 @@ export default { props: { skin: String, cape: String, + model: { + type: String, + default: 'steve', + }, closetMode: Boolean, title: { type: String, @@ -106,6 +110,9 @@ export default { } this.viewer.capeUrl = url }, + model(value) { + this.viewer.playerObject.skin.slim = value === 'alex' + }, }, mounted() { this.initPreviewer() diff --git a/resources/assets/src/views/skinlib/Show.vue b/resources/assets/src/views/skinlib/Show.vue index 7b3b7c03..d18328cb 100644 --- a/resources/assets/src/views/skinlib/Show.vue +++ b/resources/assets/src/views/skinlib/Show.vue @@ -4,6 +4,7 @@