use actual data field instead of proxy computed

This commit is contained in:
Henry Jameson 2024-06-26 01:58:25 +03:00
parent 4faca7d3ca
commit 868119679f

View file

@ -308,9 +308,10 @@ const EmojiPicker = {
itemPerRow () {
console.log(
this.emojiWidth,
this.emojiSize,
this.width
)
return this.width ? Math.floor(this.width / this.emojiWidth) : 6
return this.width ? Math.floor(this.width / this.emojiSize) : 6
},
activeGroupView () {
return this.showingStickers ? '' : this.activeGroup