Skip to content

Commit

Permalink
Merge pull request #115 from neuroglia-io/fix-dagre-custom-controls
Browse files Browse the repository at this point in the history
Fixed custom controls cascading parameter in Blazor.Dagre
  • Loading branch information
JBBianchi authored Sep 10, 2024
2 parents ebec2aa + 5701fdb commit 2759e47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Neuroglia.Blazor.Dagre/DagreGraph.razor
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
}
@if (CenterControl != null)
{
<CascadingValue Value="CenterAsync" Name="CenterAsync">
<CascadingValue Value="this">
@CenterControl
</CascadingValue>
}
Expand All @@ -111,7 +111,7 @@
}
@if (ZoomToFitControl != null)
{
<CascadingValue Value="ZoomToFitAsync" Name="ZoomToFitAsync">
<CascadingValue Value="this">
@ZoomToFitControl
</CascadingValue>
}
Expand All @@ -125,7 +125,7 @@
}
@if (SaveAsPngControl != null)
{
<CascadingValue Value="SaveAsPngAsync" Name="SaveAsPngAsync">
<CascadingValue Value="this">
@SaveAsPngControl
</CascadingValue>
}
Expand Down

0 comments on commit 2759e47

Please sign in to comment.