mirror of
https://github.com/kokonect-link/cherrypick
synced 2025-01-09 03:13:57 +09:00
fix
This commit is contained in:
parent
3edcff9483
commit
46c61602d4
@ -142,7 +142,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||||||
<template #label>{{ i18n.ts.options }}</template>
|
<template #label>{{ i18n.ts.options }}</template>
|
||||||
<div class="_gaps_s" style="text-align: left;">
|
<div class="_gaps_s" style="text-align: left;">
|
||||||
<MkSwitch v-model="showBoardLabels">Show labels</MkSwitch>
|
<MkSwitch v-model="showBoardLabels">Show labels</MkSwitch>
|
||||||
<MkSwitch v-model="showReaction">Show reactions</MkSwitch>
|
<MkSwitch v-model="showReaction">Show reaction</MkSwitch>
|
||||||
<MkSwitch v-model="useAvatarAsStone">useAvatarAsStone</MkSwitch>
|
<MkSwitch v-model="useAvatarAsStone">useAvatarAsStone</MkSwitch>
|
||||||
</div>
|
</div>
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
@ -189,7 +189,7 @@ const props = defineProps<{
|
|||||||
}>();
|
}>();
|
||||||
|
|
||||||
const showBoardLabels = ref<boolean>(false);
|
const showBoardLabels = ref<boolean>(false);
|
||||||
const showReactions = ref<boolean>(true);
|
const showReaction = ref<boolean>(true);
|
||||||
const useAvatarAsStone = ref<boolean>(true);
|
const useAvatarAsStone = ref<boolean>(true);
|
||||||
const autoplaying = ref<boolean>(false);
|
const autoplaying = ref<boolean>(false);
|
||||||
// eslint-disable-next-line vue/no-setup-props-destructure
|
// eslint-disable-next-line vue/no-setup-props-destructure
|
||||||
@ -540,7 +540,7 @@ function sendReaction(emojiKey: string) {
|
|||||||
function onReacted(payload: Parameters<Misskey.Channels['reversiGame']['events']['reacted']>['0']) {
|
function onReacted(payload: Parameters<Misskey.Channels['reversiGame']['events']['reacted']>['0']) {
|
||||||
const { userId, reaction } = payload;
|
const { userId, reaction } = payload;
|
||||||
|
|
||||||
if (showReactions.value || userId === $i.id) {
|
if (showReaction.value || userId === $i.id) {
|
||||||
sound.playMisskeySfx('reaction');
|
sound.playMisskeySfx('reaction');
|
||||||
|
|
||||||
const el = (userId === blackUser.value.id) ? blackUserEl.value : whiteUserEl.value;
|
const el = (userId === blackUser.value.id) ? blackUserEl.value : whiteUserEl.value;
|
||||||
|
Loading…
Reference in New Issue
Block a user