Prevent highlighting text when tapping double size mode button

This commit is contained in:
Jordan Eldredge 2024-04-21 12:38:06 -07:00
parent 15cc880682
commit f5d09efaf8

View file

@ -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>