diff --git a/src/components/Main/StampPicker/StampPickerStampListItem.vue b/src/components/Main/StampPicker/StampPickerStampListItem.vue index ce85ff9bbb..1f636af994 100644 --- a/src/components/Main/StampPicker/StampPickerStampListItem.vue +++ b/src/components/Main/StampPicker/StampPickerStampListItem.vue @@ -6,6 +6,7 @@ :stamp-id="stamp.id" :size="32" :class="$style.item" + no-context-menu @click="onClickStamp" @mouseenter="onStampHover" /> diff --git a/src/components/UI/AStamp.vue b/src/components/UI/AStamp.vue index c6c27f73d4..28de8fcb86 100644 --- a/src/components/UI/AStamp.vue +++ b/src/components/UI/AStamp.vue @@ -7,6 +7,7 @@ :alt="name" :title="!withoutTitle ? name : undefined" draggable="false" + @contextmenu="noContextMenu ? $event.preventDefault() : undefined" /> @@ -22,6 +23,7 @@ const props = withDefaults( stampId: StampId size?: number withoutTitle?: boolean + noContextMenu?: boolean }>(), { size: 24,