mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-13 11:09:28 +08:00
Fix UI Flickering issue
This commit is contained in:
parent
c3fd732243
commit
8de26af246
@ -103,6 +103,21 @@ namespace Wox.ViewModel
|
||||
|
||||
#endregion
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
ResultItemViewModel r = obj as ResultItemViewModel;
|
||||
if (r != null)
|
||||
{
|
||||
var equality = string.Equals(r.Title, Title) &&
|
||||
string.Equals(r.SubTitle, SubTitle);
|
||||
return equality;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public event EventHandler<ResultOpenedEventArgs> ResultOpened;
|
||||
|
||||
public event EventHandler ResultActionPanelOpened;
|
||||
|
Loading…
Reference in New Issue
Block a user