summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-08-18 14:24:14 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-08-18 14:24:14 +0900
commit7786761d764a4a0a4ba48c911001d02c8f9216f5 (patch)
treef5a82a7df407ab73114154750a34e857bae538a0 /packages/frontend/src/components
parentenhance(frontend): Add an option to customize Lockdown duration (#16405) (diff)
downloadmisskey-7786761d764a4a0a4ba48c911001d02c8f9216f5.tar.gz
misskey-7786761d764a4a0a4ba48c911001d02c8f9216f5.tar.bz2
misskey-7786761d764a4a0a4ba48c911001d02c8f9216f5.zip
chore(frontend): more haptic
Diffstat (limited to 'packages/frontend/src/components')
-rw-r--r--packages/frontend/src/components/MkReactionsViewer.reaction.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/frontend/src/components/MkReactionsViewer.reaction.vue b/packages/frontend/src/components/MkReactionsViewer.reaction.vue
index 7d76dffa5a..e02d0ec21d 100644
--- a/packages/frontend/src/components/MkReactionsViewer.reaction.vue
+++ b/packages/frontend/src/components/MkReactionsViewer.reaction.vue
@@ -38,6 +38,7 @@ import { prefer } from '@/preferences.js';
import { DI } from '@/di.js';
import { noteEvents } from '@/composables/use-note-capture.js';
import { mute as muteEmoji, unmute as unmuteEmoji, checkMuted as isEmojiMuted } from '@/utility/emoji-mute.js';
+import { haptic } from '@/utility/haptic.js';
const props = defineProps<{
noteId: Misskey.entities.Note['id'];
@@ -80,6 +81,7 @@ async function toggleReaction() {
if (oldReaction !== props.reaction) {
sound.playMisskeySfx('reaction');
+ haptic();
}
if (mock) {
@@ -118,6 +120,7 @@ async function toggleReaction() {
}
sound.playMisskeySfx('reaction');
+ haptic();
if (mock) {
emit('reactionToggled', props.reaction, (props.count + 1));