mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 09:21:15 +01:00
UI: Set UseFloatingWatermark to false when the watermark is empty
This commit is contained in:
1 parent
e9dea85064
commit
6a4ed43b3b
1 file changed
+5
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user