mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Better comment
This commit is contained in:
parent
ad8b6c806d
commit
251834143c
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue