Skip to content

Commit

Permalink
モバイル版においてホバーによる拡大を無効化
Browse files Browse the repository at this point in the history
  • Loading branch information
UnABC authored and UnABC committed Jan 14, 2025
1 parent 5ee9bac commit 108c4c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Main/MainView/MessageElement/StampElement.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</div>
<stamp-scaled-element
:class="$style.scaleReaction"
:show="isHovered && isLongHovered && !isDetailShown"
:show="isHovered && isLongHovered && !isDetailShown && !isMobile"
:stamp="stamp"
/>
</template>
Expand All @@ -30,6 +30,7 @@ import AStamp from '/@/components/UI/AStamp.vue'
import { ref, computed, watch, onMounted } from 'vue'
import { useStampsStore } from '/@/store/entities/stamps'
import { useUsersStore } from '/@/store/entities/users'
import { useResponsiveStore } from '/@/store/ui/responsive'
import type { MessageStampById } from '/@/lib/messageStampList'
import StampScaledElement from './StampScaledElement.vue'
import useHover from '/@/composables/dom/useHover'
Expand All @@ -44,6 +45,7 @@ const emit = defineEmits<{
(e: 'removeStamp', _stampId: string): void
}>()
const { isMobile } = useResponsiveStore()
const { stampsMap } = useStampsStore()
const { usersMap } = useUsersStore()
Expand Down

0 comments on commit 108c4c1

Please sign in to comment.