Skip to content

Commit

Permalink
Prevent highlighting text when tapping double size mode button
Browse files Browse the repository at this point in the history
  • Loading branch information
captbaritone committed Apr 21, 2024
1 parent 15cc880 commit f5d09ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/webamp/js/components/MainWindow/ClutterBar.tsx
Expand Up @@ -35,7 +35,10 @@ const ClutterBar = memo(() => {
id="button-d"
className={classnames({ selected: doubled })}
onPointerUp={handleMouseUp}
onPointerDown={handleMouseDown}
onPointerDown={(e) => {
e.preventDefault();
handleMouseDown();
}}
/>
<div id="button-v" />
</div>
Expand Down

0 comments on commit f5d09ef

Please sign in to comment.