mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-12-27 02:29:23 +01:00
fixed position offset being ignored for inline components
This commit is contained in:
parent
1ce08cce49
commit
9e798f835c
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ namespace MLEM.Ui.Elements {
|
|||
var newX = prevArea.Right + this.ScaledOffset.X;
|
||||
if (newX + actualSize.X <= parentArea.Right) {
|
||||
pos.X = newX;
|
||||
pos.Y = prevArea.Y;
|
||||
pos.Y = prevArea.Y + this.ScaledOffset.Y;
|
||||
} else {
|
||||
pos.Y = prevArea.Bottom + this.ScaledOffset.Y;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue