enhance(frontend): アイコンのデコレーションを非表示にできるように
This commit is contained in:
		| @@ -119,6 +119,7 @@ SPDX-License-Identifier: AGPL-3.0-only | ||||
| 				<MkSwitch v-model="disableShowingAnimatedImages">{{ i18n.ts.disableShowingAnimatedImages }}</MkSwitch> | ||||
| 				<MkSwitch v-model="highlightSensitiveMedia">{{ i18n.ts.highlightSensitiveMedia }}</MkSwitch> | ||||
| 				<MkSwitch v-model="squareAvatars">{{ i18n.ts.squareAvatars }}</MkSwitch> | ||||
| 				<MkSwitch v-model="showAvatarDecorations">{{ i18n.ts.showAvatarDecorations }}</MkSwitch> | ||||
| 				<MkSwitch v-model="useSystemFont">{{ i18n.ts.useSystemFont }}</MkSwitch> | ||||
| 				<MkSwitch v-model="disableDrawer">{{ i18n.ts.disableDrawer }}</MkSwitch> | ||||
| 				<MkSwitch v-model="forceShowAds">{{ i18n.ts.forceShowAds }}</MkSwitch> | ||||
| @@ -203,7 +204,7 @@ import { unisonReload } from '@/scripts/unison-reload.js'; | ||||
| import { i18n } from '@/i18n.js'; | ||||
| import { definePageMetadata } from '@/scripts/page-metadata.js'; | ||||
| import { miLocalStorage } from '@/local-storage.js'; | ||||
| import { globalEvents } from '@/events'; | ||||
| import { globalEvents } from '@/events.js'; | ||||
| import { claimAchievement } from '@/scripts/achievements.js'; | ||||
|  | ||||
| const lang = ref(miLocalStorage.getItem('lang')); | ||||
| @@ -248,6 +249,7 @@ const instanceTicker = computed(defaultStore.makeGetterSetter('instanceTicker')) | ||||
| const enableInfiniteScroll = computed(defaultStore.makeGetterSetter('enableInfiniteScroll')); | ||||
| const useReactionPickerForContextMenu = computed(defaultStore.makeGetterSetter('useReactionPickerForContextMenu')); | ||||
| const squareAvatars = computed(defaultStore.makeGetterSetter('squareAvatars')); | ||||
| const showAvatarDecorations = computed(defaultStore.makeGetterSetter('showAvatarDecorations')); | ||||
| const mediaListWithOneImageAppearance = computed(defaultStore.makeGetterSetter('mediaListWithOneImageAppearance')); | ||||
| const notificationPosition = computed(defaultStore.makeGetterSetter('notificationPosition')); | ||||
| const notificationStackAxis = computed(defaultStore.makeGetterSetter('notificationStackAxis')); | ||||
|   | ||||
| @@ -17,7 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only | ||||
| 		<MkSpacer :marginMin="20" :marginMax="28"> | ||||
| 			<div style="text-align: center;"> | ||||
| 				<div :class="$style.name">{{ decoration.name }}</div> | ||||
| 				<MkAvatar style="width: 64px; height: 64px; margin-bottom: 20px;" :user="$i" :decoration="{ url: decoration.url, angle, flipH }"/> | ||||
| 				<MkAvatar style="width: 64px; height: 64px; margin-bottom: 20px;" :user="$i" :decoration="{ url: decoration.url, angle, flipH }" forceShowDecoration/> | ||||
| 			</div> | ||||
| 			<div class="_gaps_s"> | ||||
| 				<MkRange v-model="angle" continuousUpdate :min="-0.5" :max="0.5" :step="0.025" :textConverter="(v) => `${Math.floor(v * 360)}°`"> | ||||
|   | ||||
| @@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only | ||||
| <div class="_gaps_m"> | ||||
| 	<div :class="$style.avatarAndBanner" :style="{ backgroundImage: $i.bannerUrl ? `url(${ $i.bannerUrl })` : null }"> | ||||
| 		<div :class="$style.avatarContainer"> | ||||
| 			<MkAvatar :class="$style.avatar" :user="$i" @click="changeAvatar"/> | ||||
| 			<MkAvatar :class="$style.avatar" :user="$i" forceShowDecoration @click="changeAvatar"/> | ||||
| 			<MkButton primary rounded @click="changeAvatar">{{ i18n.ts._profile.changeAvatar }}</MkButton> | ||||
| 		</div> | ||||
| 		<MkButton primary rounded :class="$style.bannerEdit" @click="changeBanner">{{ i18n.ts._profile.changeBanner }}</MkButton> | ||||
| @@ -95,7 +95,7 @@ SPDX-License-Identifier: AGPL-3.0-only | ||||
| 				@click="openDecoration(avatarDecoration)" | ||||
| 			> | ||||
| 				<div :class="$style.avatarDecorationName"><MkCondensedLine :minScale="2 / 3">{{ avatarDecoration.name }}</MkCondensedLine></div> | ||||
| 				<MkAvatar style="width: 64px; height: 64px;" :user="$i" :decoration="{ url: avatarDecoration.url }"/> | ||||
| 				<MkAvatar style="width: 64px; height: 64px;" :user="$i" :decoration="{ url: avatarDecoration.url }" forceShowDecoration/> | ||||
| 			</div> | ||||
| 		</div> | ||||
| 	</MkFolder> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo