From 251834143c9b0f2d1be59e9a4396efc0091bf49f Mon Sep 17 00:00:00 2001 From: bao-qian Date: Fri, 30 Oct 2015 23:18:05 +0000 Subject: [PATCH] Better comment --- Wox/MainWindow.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Wox/MainWindow.xaml.cs b/Wox/MainWindow.xaml.cs index 182b8458c3..10e878eee3 100644 --- a/Wox/MainWindow.xaml.cs +++ b/Wox/MainWindow.xaml.cs @@ -460,8 +460,8 @@ namespace Wox { Dispatcher.DelayInvoke("ClearResults", () => { - // first try to use clear method inside pnlResult, which is more closer to the add new results - // and this will not bring splash issues.After waiting 100ms, if there still no results added, we + // Delay the invocation of clear method of pnlResult, minimize the time-span between clear results and add new results. + // So this will reduce splash issues. After waiting 100ms, if there still no results added, we // must clear the result. otherwise, it will be confused why the query changed, but the results // didn't. if (pnlResult.Dirty) pnlResult.Clear();