mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 03:37:59 +01:00
Fixed ghost text casing (#4498)
This commit is contained in:
@@ -279,7 +279,8 @@ namespace PowerLauncher
|
||||
{
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user