mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-25 22:18:34 +01:00
fixed VerticalSpace height parameter being an integer
This commit is contained in:
parent
1459df3d2a
commit
f021215066
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue