This commit is contained in:
Antonio Scandurra 2023-04-12 15:55:43 +02:00
parent b54f08db77
commit 83070a19c4
27 changed files with 154 additions and 162 deletions

View file

@ -1238,7 +1238,7 @@ impl ProjectPanel {
.is_some()
{
if let Some(this) = this.upgrade(cx) {
this.update(cx, |this, _, _| {
this.update(cx, |this, _| {
this.dragged_entry_destination = if matches!(kind, EntryKind::File(_)) {
path.parent().map(|parent| Arc::from(parent))
} else {