リアクションピッカーの設定がリアルタイムで反映されない問題を修正

This commit is contained in:
syuilo 2021-05-04 17:02:14 +09:00
parent 6ae642245e
commit e9170e630c
1 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@
class="_button" class="_button"
@click="chosen(emoji, $event)" @click="chosen(emoji, $event)"
tabindex="0" tabindex="0"
:key="emoji"
> >
<MkEmoji :emoji="emoji" :normal="true"/> <MkEmoji :emoji="emoji" :normal="true"/>
</button> </button>
@ -104,7 +105,7 @@ export default defineComponent({
return { return {
emojilist: markRaw(emojilist), emojilist: markRaw(emojilist),
getStaticImageUrl, getStaticImageUrl,
pinned: this.$store.state.reactions, pinned: this.$store.reactiveState.reactions,
width: this.asReactionPicker ? this.$store.state.reactionPickerWidth : 3, width: this.asReactionPicker ? this.$store.state.reactionPickerWidth : 3,
height: this.asReactionPicker ? this.$store.state.reactionPickerHeight : 2, height: this.asReactionPicker ? this.$store.state.reactionPickerHeight : 2,
big: this.asReactionPicker ? isDeviceTouch : false, big: this.asReactionPicker ? isDeviceTouch : false,