0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-22 13:25:45 +00:00

UI: Set UseFloatingWatermark to false when the watermark is empty (#135)

This commit is contained in:
sovervo 2024-11-01 14:46:15 +03:00 committed by GitHub
parent d7e17abade
commit fb4ab5ea08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,6 +34,11 @@ namespace Ryujinx.Ava.UI.Controls
Input.Watermark = _placeholder;
if (string.IsNullOrWhiteSpace(Input.Watermark))
{
Input.UseFloatingWatermark = false;
}
Input.AddHandler(TextInputEvent, Message_TextInput, RoutingStrategies.Tunnel, true);
}