Skip to content

Commit

Permalink
fix: make images undraggable
Browse files Browse the repository at this point in the history
fixes 3d press not showing context menu, but starting drag action on mobile devices

fix #70
  • Loading branch information
chhoumann committed Feb 27, 2023
1 parent 4cf7771 commit e201dab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/common/Image.svelte
Expand Up @@ -23,6 +23,7 @@
<div class="pn_image_container">
<img
on:click={e => onClick(e)}
draggable="false"
{src}
{alt}
class={_class}
Expand Down

0 comments on commit e201dab

Please sign in to comment.