mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-18 06:29:44 +08:00
Fixed ghost text casing (#4498)
This commit is contained in:
parent
bfd79e1af2
commit
403f53a397
@ -279,7 +279,8 @@ namespace PowerLauncher
|
|||||||
{
|
{
|
||||||
if (selectedItem.IndexOf(input, StringComparison.InvariantCultureIgnoreCase) == 0)
|
if (selectedItem.IndexOf(input, StringComparison.InvariantCultureIgnoreCase) == 0)
|
||||||
{
|
{
|
||||||
return selectedItem;
|
// Use the same case as the input query for the matched portion of the string
|
||||||
|
return input + selectedItem.Substring(input.Length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user