Do not allow ConfigHandle icons to be dragged on the canvas (#1260)

This commit is contained in:
Trevor Bayless 2021-10-24 22:49:54 -05:00 committed by GitHub
parent f10727068e
commit d5c4ca6128
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,7 @@ export const ConfigHandle = function ConfigHandle({ id, component, configHandleC
src="/assets/images/icons/menu.svg"
width="8"
height="8"
draggable="false"
/>
{component.name}
</span>
@ -28,6 +29,7 @@ export const ConfigHandle = function ConfigHandle({ id, component, configHandleC
role="button"
className="mx-2"
height="12"
draggable="false"
onClick={() => removeComponent({ id })}
/>
</div>