summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkEmojiPicker.vue
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2025-03-03 17:46:38 +0900
committerGitHub <noreply@github.com>2025-03-03 08:46:38 +0000
commit01a3eabc4e1deb00b29398777d453d5b3583583b (patch)
treea6c78c2cf2ed97ff4aa086b6aef3351881825497 /packages/frontend/src/components/MkEmojiPicker.vue
parentfix(frontend): 照会処理を統一 (#15536) (diff)
downloadsharkey-01a3eabc4e1deb00b29398777d453d5b3583583b.tar.gz
sharkey-01a3eabc4e1deb00b29398777d453d5b3583583b.tar.bz2
sharkey-01a3eabc4e1deb00b29398777d453d5b3583583b.zip
enhance(frontend): アニメーション設定で画面上のエフェクトも考慮するように (#15576)
* enhance(frontend): アニメーション設定で画面上のエフェクトも考慮するように * Update Changelog
Diffstat (limited to 'packages/frontend/src/components/MkEmojiPicker.vue')
-rw-r--r--packages/frontend/src/components/MkEmojiPicker.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkEmojiPicker.vue b/packages/frontend/src/components/MkEmojiPicker.vue
index 5da161dae8..62a1000674 100644
--- a/packages/frontend/src/components/MkEmojiPicker.vue
+++ b/packages/frontend/src/components/MkEmojiPicker.vue
@@ -413,7 +413,7 @@ function computeButtonTitle(ev: MouseEvent): void {
function chosen(emoji: string | Misskey.entities.EmojiSimple | UnicodeEmojiDef, ev?: MouseEvent) {
const el = ev && (ev.currentTarget ?? ev.target) as HTMLElement | null | undefined;
- if (el) {
+ if (el && defaultStore.state.animation) {
const rect = el.getBoundingClientRect();
const x = rect.left + (el.offsetWidth / 2);
const y = rect.top + (el.offsetHeight / 2);