forked from AkkomaGang/akkoma-fe
Apply suggestion to src/components/emoji_picker/emoji_picker.js
This commit is contained in:
parent
9146bee7aa
commit
9651293956
1 changed files with 0 additions and 1 deletions
|
@ -65,7 +65,6 @@ const EmojiPicker = {
|
||||||
setZoomEmoji (e, emoji) {
|
setZoomEmoji (e, emoji) {
|
||||||
this.zoomEmoji = emoji
|
this.zoomEmoji = emoji
|
||||||
const { x, y } = e.target.getBoundingClientRect()
|
const { x, y } = e.target.getBoundingClientRect()
|
||||||
console.log(e.target)
|
|
||||||
this.$refs['zoom-portal'].style.left = (x - 32) + 'px'
|
this.$refs['zoom-portal'].style.left = (x - 32) + 'px'
|
||||||
this.$refs['zoom-portal'].style.top = (y - 32) + 'px'
|
this.$refs['zoom-portal'].style.top = (y - 32) + 'px'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue