-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dismiss the snippet preview when there is no suggestions (#17777)
Pretty obvious in retrospect. If there's no results, then we need to preview _nothing_ to make sure that we clear out any old previews. Closes #17773 Additionally, while I was here: I realized why it seems like the selected item is so wacky when you first open the sxnui: * on launch we're not scrolling to the bottom item (which makes it awkward in bottom up mode) * when we filter the list, we're maintaining the selection _index_, not the selection _item_. Alas, that second part is... shockingly bodgy.
- Loading branch information
1 parent
d1a1f98
commit 1de142b
Showing
1 changed file
with
38 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters