зеркало из https://github.com/stride3d/GraphX.git
CancelRelayout -> CancelRelayoutAsync
This commit is contained in:
Родитель
a191732a53
Коммит
e2b8e963df
|
@ -698,7 +698,7 @@ namespace GraphX
|
|||
|
||||
private async Task _relayoutGraphMainAsync(CancellationToken externalCancellationToken, bool generateAllEdges = false, bool standalone = true)
|
||||
{
|
||||
await CancelRelayout();
|
||||
await CancelRelayoutAsync();
|
||||
|
||||
_layoutCancellationSource = new CancellationTokenSource();
|
||||
|
||||
|
@ -713,7 +713,7 @@ namespace GraphX
|
|||
private CancellationTokenSource _layoutCancellationSource;
|
||||
private CancellationTokenSource _linkedLayoutCancellationSource;
|
||||
|
||||
public async Task CancelRelayout()
|
||||
public async Task CancelRelayoutAsync()
|
||||
{
|
||||
if (_layoutTask != null)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче