Skip to content
Snippets Groups Projects
Unverified Commit fb4ab5ea authored by sovervo's avatar sovervo Committed by GitHub
Browse files

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

parent d7e17aba
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment