mirror of
https://github.com/4sval/FModel.git
synced 2026-09-14 04:26:40 -05:00
Sleep -> Yield
This commit is contained in:
@@ -106,7 +106,7 @@ public class MenuCommand : ViewModelCommand<ApplicationViewModel>
|
||||
if (parent.IsExpanded != isExpanded)
|
||||
{
|
||||
parent.IsExpanded = isExpanded;
|
||||
Thread.Sleep(10);
|
||||
Thread.Yield();
|
||||
}
|
||||
|
||||
cancellationToken.ThrowIfCancellationRequested();
|
||||
|
||||
Reference in New Issue
Block a user