1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-29 23:58:34 +01: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; break;
case Anchor.AutoInlineIgnoreOverflow: case Anchor.AutoInlineIgnoreOverflow:
pos.X = prevArea.Right + this.ScaledOffset.X; pos.X = prevArea.Right + this.ScaledOffset.X;
pos.Y = prevArea.Y; pos.Y = prevArea.Y + this.ScaledOffset.Y;
break; break;
} }
} }