Skip to content

Commit

Permalink
fix(board): restore hint selection with click
Browse files Browse the repository at this point in the history
Closes #190
  • Loading branch information
nikku committed Mar 15, 2024
1 parent a8b05ed commit a3a6429
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/board/src/components/HintList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
class:active={ selectedHint === hint }
on:mouseenter={ () => onHover(hint) }
on:mouseleave={ () => onBlur(hint) }
on:mousedown={ (event) => handleMousedown(event, hint) }
on:click|preventDefault={ (event) => handleMousedown(event, hint) }
href
>{#each hint.parts as part}<span class:matched={ part.matched }>{ part.text }</span>{/each}</a>
Expand Down

0 comments on commit a3a6429

Please sign in to comment.