Move suggestion caret

This commit is contained in:
Garulf 2021-12-04 04:03:26 -05:00
parent 846333af1e
commit ab2fe8fdc3

View file

@ -17,7 +17,9 @@ namespace Flow.Launcher.Converters
}
var QueryText = values[1] as TextBox;
var Suggestion = values[0] as TextBox;
Suggestion.CaretIndex = QueryText.CaretIndex;
Suggestion.ScrollToHorizontalOffset(QueryText.HorizontalOffset);
// first prop is the current query string
var queryText = QueryText.Text;