Skip to content

Commit

Permalink
only toggle image with left click
Browse files Browse the repository at this point in the history
  • Loading branch information
joleeee committed Oct 3, 2023
1 parent e0cf2ba commit bf9b0e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jd-front/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<img
src={active_image}
alt="dithering display"
on:mousedown={mouse_down}
on:mousedown={(event) => (event.button === 0 ? mouse_down() : null)}
on:mouseup={mouse_up}
on:mousemove={mouse_up}
/>
Expand Down

0 comments on commit bf9b0e2

Please sign in to comment.