mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-22 01:43:23 +01:00
UI: Set UseFloatingWatermark to false when the watermark is empty (#135)
This commit is contained in:
parent
d7e17abade
commit
fb4ab5ea08
1 changed files with 5 additions and 0 deletions
|
@ -34,6 +34,11 @@ namespace Ryujinx.Ava.UI.Controls
|
||||||
|
|
||||||
Input.Watermark = _placeholder;
|
Input.Watermark = _placeholder;
|
||||||
|
|
||||||
|
if (string.IsNullOrWhiteSpace(Input.Watermark))
|
||||||
|
{
|
||||||
|
Input.UseFloatingWatermark = false;
|
||||||
|
}
|
||||||
|
|
||||||
Input.AddHandler(TextInputEvent, Message_TextInput, RoutingStrategies.Tunnel, true);
|
Input.AddHandler(TextInputEvent, Message_TextInput, RoutingStrategies.Tunnel, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue