mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 13:35:31 +02:00
Fix UI Flickering issue
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user