mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-01 02:52:24 -05:00
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:
parent
0206475ba4
commit
781fa5c706
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user