Skip to content

Commit

Permalink
titleを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
UnABC authored and UnABC committed Jan 5, 2025
1 parent acd6832 commit 0101b00
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions src/components/Main/MainView/MessageElement/StampElement.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
<template>
<div
<!-- <div
:class="$style.body"
:title="tooltip"
:data-include-me="$boolAttr(includeMe)"
@click="onClick"
@mouseenter="onMouseEnter"
@mouseleave="onMouseLeave"
>
> -->
<div
:class="$style.body"
:data-include-me="$boolAttr(includeMe)"
@click="onClick"
@mouseenter="onMouseEnter"
@mouseleave="onMouseLeave"
>
<transition name="stamp-pressed" mode="out-in">
<a-stamp
:key="pressAnimationKey"
Expand Down Expand Up @@ -51,14 +58,14 @@ const stampName = computed(
() => stampsMap.value.get(props.stamp.id)?.name ?? ''
)
const tooltip = computed(() =>
[
`:${stampName.value}:`,
...props.stamp.users.map(
u => `${usersMap.value.get(u.id)?.displayName ?? ''}(${u.count})`
)
].join(' ')
)
// const tooltip = computed(() =>
// [
// `:${stampName.value}:`,
// ...props.stamp.users.map(
// u => `${usersMap.value.get(u.id)?.displayName ?? ''}(${u.count})`
// )
// ].join(' ')
// )
const includeMe = computed(() => props.stamp.myCount > 0)
Expand Down

0 comments on commit 0101b00

Please sign in to comment.