1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-05-23 17:13:38 +02:00

fixed y offset not affecting elements with AutoInlineIgnoreOverflow anchor

This commit is contained in:
Ellpeck 2020-07-25 23:39:37 +02:00
parent dddcb664d7
commit 00ce8bb229

View file

@ -588,7 +588,7 @@ namespace MLEM.Ui.Elements {
break;
case Anchor.AutoInlineIgnoreOverflow:
pos.X = prevArea.Right + this.ScaledOffset.X;
pos.Y = prevArea.Y;
pos.Y = prevArea.Y + this.ScaledOffset.Y;
break;
}
}