Skip to content

Commit

Permalink
fix(TextNote): #190
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou committed Jul 19, 2024
1 parent fefdc53 commit 5f1f245
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/islands/note/components/Notes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ export default (props: {
handleUpdate()
})
const noteElement = (
<div class="border p-1 grow">
<div class="border p-1 grow" onPointerDown={() => {
setFocusedIndex(index())
}}>
<NoteComponent
noteData={note().noteData}
setNoteData={note().setNoteData}
Expand Down

0 comments on commit 5f1f245

Please sign in to comment.