From aa1817737eab9289d8b3fb098dde2f3b62f182dd Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 13 Sep 2018 01:06:18 +0900 Subject: [PATCH] Fix glitch --- .../app/common/views/components/avatar.vue | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src/client/app/common/views/components/avatar.vue b/src/client/app/common/views/components/avatar.vue index c5ac74e53..a2b0fc6bd 100644 --- a/src/client/app/common/views/components/avatar.vue +++ b/src/client/app/common/views/components/avatar.vue @@ -1,15 +1,15 @@ @@ -42,6 +42,11 @@ export default Vue.extend({ return this.user.isCat && this.$store.state.settings.circleIcons; }, style(): any { + return { + borderRadius: this.$store.state.settings.circleIcons ? '100%' : null + }; + }, + icon(): any { return { backgroundColor: this.lightmode ? `rgb(${this.user.avatarColor.slice(0, 3).join(',')})`