Skip to content

Commit ef76b96

Browse files
committed
Check for offset
1 parent 1dd9e2c commit ef76b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher/Converters/QuerySuggestionBoxConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public object Convert(object[] values, Type targetType, object parameter, Cultur
4242
var selectedResultActionKeyword = string.IsNullOrEmpty(selectedResult.ActionKeywordAssigned) ? "" : selectedResult.ActionKeywordAssigned + " ";
4343
var selectedResultPossibleSuggestion = selectedResultActionKeyword + selectedResult.Title;
4444

45-
if (!selectedResultPossibleSuggestion.StartsWith(queryText, StringComparison.CurrentCultureIgnoreCase))
45+
if (!selectedResultPossibleSuggestion.StartsWith(queryText, StringComparison.CurrentCultureIgnoreCase) || QueryTextBox.HorizontalOffset != 0)
4646
return string.Empty;
4747

4848

0 commit comments

Comments
 (0)