mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-29 17:19:50 -06:00
UI: Set UseFloatingWatermark to false when the watermark is empty (#135)
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user