From b00214bdbdd375b078af6cb400598c75fe7f9b20 Mon Sep 17 00:00:00 2001 From: bao-qian Date: Sun, 21 Feb 2016 14:53:32 +0000 Subject: [PATCH] UserControl -> ListBox --- Wox/ResultListBox.xaml | 10 ++++------ Wox/ResultListBox.xaml.cs | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Wox/ResultListBox.xaml b/Wox/ResultListBox.xaml index 9f4894f9d4..5a280b760f 100644 --- a/Wox/ResultListBox.xaml +++ b/Wox/ResultListBox.xaml @@ -1,13 +1,12 @@ - - - - \ No newline at end of file + \ No newline at end of file diff --git a/Wox/ResultListBox.xaml.cs b/Wox/ResultListBox.xaml.cs index f78254bd86..d8c089f39d 100644 --- a/Wox/ResultListBox.xaml.cs +++ b/Wox/ResultListBox.xaml.cs @@ -33,7 +33,7 @@ namespace Wox { if (e.AddedItems.Count > 0 && e.AddedItems[0] != null) { - lbResults.ScrollIntoView(e.AddedItems[0]); + ScrollIntoView(e.AddedItems[0]); } }