diff --git a/CHANGELOG.md b/CHANGELOG.md index b7d9bb3..c0bcbdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ Jump to version: - [5.0.0](#500) ## 5.2.0 (Unreleased) +### MLEM.Ui +Fixes +- Fixed VerticalSpace height parameter being an integer ## 5.1.0 ### MLEM diff --git a/MLEM.Ui/Elements/VerticalSpace.cs b/MLEM.Ui/Elements/VerticalSpace.cs index 109ac32..70828ba 100644 --- a/MLEM.Ui/Elements/VerticalSpace.cs +++ b/MLEM.Ui/Elements/VerticalSpace.cs @@ -11,7 +11,7 @@ namespace MLEM.Ui.Elements { /// Creates a new vertical space with the given settings /// /// The height of the vertical space - public VerticalSpace(int height) : base(Anchor.AutoCenter, new Vector2(1, height)) { + public VerticalSpace(float height) : base(Anchor.AutoCenter, new Vector2(1, height)) { this.CanBeSelected = false; }