feature<NewPage>: show drop area border while dragging items in/into repositories' tree

This commit is contained in:
leo 2021-01-04 10:58:06 +08:00
parent f54bf249dc
commit ed9c28055f
4 changed files with 168 additions and 117 deletions

View file

@ -200,6 +200,7 @@ namespace SourceGit {
/// <returns></returns>
public bool IsSubGroup(string parentId, string subId) {
if (string.IsNullOrEmpty(parentId)) return false;
if (parentId == subId) return true;
var g = FindGroup(subId);
if (g == null) return false;