forked from noxious/client
Made images undraggable
Fixes bug where dragging an image also drags tilemap when exiting the image container
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<div class="modal-container" :style="{ top: y + 'px', left: x + 'px' }" v-if="isModalOpenRef">
|
||||
<div class="modal-header" @mousedown="startDrag">
|
||||
<slot name="modal-header" />
|
||||
<button @click="close"><img src="/assets/icons/close-button-white.svg" /></button>
|
||||
<button @click="close"><img draggable="false" src="/assets/icons/close-button-white.svg" /></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<slot name="modal-body" />
|
||||
|
Reference in New Issue
Block a user