Change main window dragdrop behavior (move->copy)

Now allows dragging from box/party/etc into main window again
Use the ctrl hotkeys u keyboard-lackers
This commit is contained in:
Kurt 2022-05-08 13:01:08 -07:00
parent 0206475ba4
commit 781fa5c706

View File

@ -1097,7 +1097,7 @@ private static void Main_DragEnter(object? sender, DragEventArgs? e)
if (e.AllowedEffect == (DragDropEffects.Copy | DragDropEffects.Link)) // external file
e.Effect = DragDropEffects.Copy;
else if (e.Data != null) // within
e.Effect = DragDropEffects.Move;
e.Effect = DragDropEffects.Copy;
}
private void Main_DragDrop(object? sender, DragEventArgs? e)
@ -1159,7 +1159,7 @@ private static async Task DeleteAsync(string path, int delay)
catch (Exception ex) { Debug.WriteLine(ex.Message); }
}
private void Dragout_DragOver(object sender, DragEventArgs e) => e.Effect = DragDropEffects.Move;
private void Dragout_DragOver(object sender, DragEventArgs e) => e.Effect = DragDropEffects.Copy;
private void DragoutEnter(object sender, EventArgs e)
{