fixes draggable

pull/2791/head^2
bunsenstraat 2 years ago committed by Aniket
parent b244ba9e45
commit 09ec51cc4a
  1. 4
      libs/remix-ui/workspace/src/lib/components/file-render.tsx

@ -83,12 +83,12 @@ export const FileRender = (props: RenderFileProps) => {
iconY='pr-3 fa fa-folder-open'
key={`${file.path + props.index}`}
label={<>
<div className="d-flex flex-row">
<Draggable isDraggable={props.focusEdit.element !== null} file={file} expandedPath={props.expandPath} handleClickFolder={props.handleClickFolder}>
<div className="d-flex flex-row">
<FileLabel fileDecorations={props.fileDecorations} file={file} focusEdit={props.focusEdit} editModeOff={props.editModeOff} />
</Draggable>
<FileDecorationIcons file={file} fileDecorations={props.fileDecorations} />
</div>
</Draggable>
</>}
onClick={handleFolderClick}
onContextMenu={handleContextMenu}

Loading…
Cancel
Save