mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-22 10:55:00 +00:00
code_style: general cleanup (#1415)
* code_style: general cleanup * code_style: whitespace cleanup
This commit is contained in:
parent
35eda489be
commit
ffac71b15f
89 changed files with 161 additions and 243 deletions
|
@ -215,16 +215,8 @@ namespace SourceGit.Views
|
|||
if (to == null)
|
||||
return;
|
||||
|
||||
if (to.IsRepository)
|
||||
{
|
||||
e.DragEffects = DragDropEffects.None;
|
||||
e.Handled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
e.DragEffects = DragDropEffects.Move;
|
||||
e.Handled = true;
|
||||
}
|
||||
e.DragEffects = to.IsRepository ? DragDropEffects.None : DragDropEffects.Move;
|
||||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue