mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
3.55 release
This commit is contained in:
@@ -247,7 +247,7 @@ public class Tree {
|
||||
p2 = c;
|
||||
}
|
||||
|
||||
if (p1 != p2)
|
||||
if (p1 != p2 || p1 == this || p2 == this)
|
||||
return this;
|
||||
|
||||
return p1.findCommonParent(t1, t2);
|
||||
|
||||
Reference in New Issue
Block a user