1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-12-24 01:09:23 +01:00

fixed VerticalSpace height parameter being an integer

This commit is contained in:
Ell 2021-10-01 03:42:27 +02:00
parent 1459df3d2a
commit f021215066
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -11,7 +11,7 @@ namespace MLEM.Ui.Elements {
/// Creates a new vertical space with the given settings
/// </summary>
/// <param name="height">The height of the vertical space</param>
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;
}