mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-07 20:07:56 +08:00
Fix UI Flickering issue
This commit is contained in:
parent
c3fd732243
commit
8de26af246
@ -103,6 +103,21 @@ namespace Wox.ViewModel
|
|||||||
|
|
||||||
#endregion
|
#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<ResultOpenedEventArgs> ResultOpened;
|
||||||
|
|
||||||
public event EventHandler ResultActionPanelOpened;
|
public event EventHandler ResultActionPanelOpened;
|
||||||
|
Loading…
Reference in New Issue
Block a user