1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-05-31 20:33:38 +02:00

this actually does not work

This commit is contained in:
Ellpeck 2019-09-04 17:23:23 +02:00
parent 619db6bb94
commit fef1d7959d

View file

@ -306,12 +306,8 @@ namespace MLEM.Ui.Elements {
}
}
}
var newArea = new Rectangle(pos, actualSize);
if (newArea == this.area)
return;
this.area = newArea;
this.area = new Rectangle(pos, actualSize);
this.OnAreaUpdated?.Invoke(this);
foreach (var child in this.Children)