Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
molvqingtai committed Oct 30, 2024
2 parents 14cf6a3 + 2987c2d commit 2a8b2fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { version } from '@/../package.json'

export const EMOJI_LIST = [
'πŸ˜€',
'πŸ˜ƒ',
'πŸ˜„',
'😁',
'πŸ˜†',
Expand Down Expand Up @@ -113,6 +112,7 @@ export const EMOJI_LIST = [
'πŸ‘½',
'πŸ‘Ύ',
'πŸ€–',
'πŸ‘€',
'😺',
'😸',
'😹',
Expand Down
2 changes: 2 additions & 0 deletions src/hooks/useCursorPosition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ const useCursorPosition = () => {
handleRef.current.removeEventListener('input', handler)
handleRef.current.removeEventListener('keydown', handler)
handleRef.current.removeEventListener('keyup', handler)
handleRef.current.removeEventListener('focus', handler)
}
if (node) {
node.addEventListener('click', handler)
node.addEventListener('input', handler)
node.addEventListener('keydown', handler)
node.addEventListener('keyup', handler)
node.addEventListener('focus', handler)
}
handleRef.current = node
},
Expand Down

0 comments on commit 2a8b2fa

Please sign in to comment.