Prevent dragging the "+" button

This commit is contained in:
Ken authored and Kenny2github committed 2018-05-30 21:14:29 +08:00
1 parent 4f283cc157
commit a82cd38aa3
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@ const ListMonitor = ({draggable, label, width, height, value, onResizeMouseDown,
</div>
<div className={styles.listFooter}>
<div
className={styles.addButton}
className={classNames(styles.addButton, 'no-drag')}
onClick={draggable ? onAdd : null}
>
{'+' /* TODO waiting on asset */}