Skip to content

Commit

Permalink
Update only Non-DirectChildrenChanged changes within UI tread
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirkster99 committed Oct 6, 2019
1 parent c06efac commit f7427b7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ protected override void OnInitialized( EventArgs e )

_model.ChildrenTreeChanged += ( s, args ) =>
{
if( args.Change != ChildrenTreeChange.DirectChildrenChanged )
return;
if( _asyncRefreshCalled.HasValue &&
_asyncRefreshCalled.Value == args.Change )
return;
Expand Down

0 comments on commit f7427b7

Please sign in to comment.