Skip to content

Commit

Permalink
With minor tweak to drag-drop testing, can now drag entire volumes in…
Browse files Browse the repository at this point in the history
…to IG
  • Loading branch information
fire-eggs committed Jun 17, 2019
1 parent a4dc129 commit 0b7a287
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/ImageGlass/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ private void picMain_DragOver(object sender, DragEventArgs e)
// KBR 20190617 Fix observed issue: dragging from CD/DVD would fail because we set the
// drag effect to Move, which is _not_allowed_
// Drag file from DESKTOP to APP
if (GlobalSetting.ImageList.IndexOf(filePath) == -1 && e.AllowedEffect != DragDropEffects.Copy)
if (GlobalSetting.ImageList.IndexOf(filePath) == -1 &&
(e.AllowedEffect & DragDropEffects.Move) != 0)
{
e.Effect = DragDropEffects.Move;
}
Expand Down

0 comments on commit 0b7a287

Please sign in to comment.