mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 20:58:34 +01:00
fixed multiline text inputs not working on FNA
This commit is contained in:
parent
5d7d238630
commit
5fcdda80dc
1 changed files with 6 additions and 0 deletions
|
@ -111,6 +111,12 @@ namespace MLEM.Ui.Elements {
|
|||
set => this.textInput.Multiline = value;
|
||||
}
|
||||
|
||||
#if FNA
|
||||
/// <inheritdoc />
|
||||
// we need to make sure that the enter press doesn't get consumed by our press function so that it still works in TextInput
|
||||
public override bool CanBePressed => base.CanBePressed && !this.IsSelected;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// The text that displays in this text field if <see cref="Text"/> is empty
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in a new issue