Skip to content

Commit

Permalink
ホバー型のノートメニューに、詳細表示ボタンを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
EbiseLutica committed Mar 8, 2023
1 parent 2807794 commit 4802191
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/frontend/src/components/MkNote.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@
<button v-if="appearNote.text" ref="stealButton" :class="$style.footerButton" class="_button" @mousedown="stealMenu(appearNote, stealButton)">
<i class="ti ti-swipe"></i>
</button>
<MkA v-if="defaultStore.state.showNoteActionsOnlyHover" :to="notePage(note)" :class="$style.footerButton" class="_button">
<i class="ti ti-info-circle"></i>
</MkA>
<button ref="menuButton" :class="$style.footerButton" class="_button" @mousedown="menu()">
<i class="ti ti-dots"></i>
</button>
Expand Down Expand Up @@ -163,6 +166,7 @@ import { shownNoteIds } from '@/os';
import { stealMenu } from '@/scripts/steal-menu';
import { MenuItem } from '@/types/menu';
import MkRippleEffect from '@/components/MkRippleEffect.vue';
import { notePage } from '@/filters/note';
const props = defineProps<{
note: misskey.entities.Note;
Expand Down

0 comments on commit 4802191

Please sign in to comment.