mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-12-25 01:39:23 +01:00
make sure to always pick the closest older sibling
This commit is contained in:
parent
d231386f86
commit
df59ae7260
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ namespace MLEM.Ui.Elements {
|
|||
continue;
|
||||
if (child.Anchor > Anchor.TopRight && child.Anchor < Anchor.AutoLeft)
|
||||
continue;
|
||||
if (lowest == null || child.Area.Bottom > lowest.Area.Bottom)
|
||||
if (lowest == null || child.Area.Bottom >= lowest.Area.Bottom)
|
||||
lowest = child;
|
||||
}
|
||||
return lowest;
|
||||
|
|
Loading…
Reference in a new issue