File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
libs/remix-ui/workspace/src/lib/components Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export function FileHoverIcons(props: FileHoverIconsProps) {
1717
1818 return (
1919 < >
20- { ( ! props . hover && ! props . isEditable ) && < div className = "d-flex flex-row align-items-center" style = { { marginLeft : '6rem' } } >
20+ { ( props . hover && ! props . isEditable ) && < div className = "d-flex flex-row align-items-center" style = { { marginLeft : '6rem' } } >
2121 {
2222 props . file . isDirectory ? (
2323 < >
Original file line number Diff line number Diff line change @@ -217,7 +217,11 @@ export const FlatTree = (props: FlatTreeProps) => {
217217 </ div >
218218 < div className = "d-flex flex-row align-items-center" >
219219 < div >
220- < FileHoverIcons file = { file } />
220+ < FileHoverIcons
221+ file = { file }
222+ isEditable = { focusEdit && file . path && focusEdit . element === file . path }
223+ hover = { hover . length > 0 }
224+ />
221225 </ div > { getFileStateIcons ( file ) }
222226 </ div >
223227 </ >
You can’t perform that action at this time.
0 commit comments