Skip to content

Commit

Permalink
Enable selection box for all maps
Browse files Browse the repository at this point in the history
It is now possible to hold the [Shift] key and then drag a selection box over multiple systems by holding the left mouse button.
  • Loading branch information
rdymade committed May 21, 2024
1 parent ca79b4a commit ca5d3b7
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/WHMapper/Pages/Mapper/Overview.razor
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@
<div style="width: inherit; height: inherit" Class="Rounded">
<MudTabPanel Text="@item.Name" Tag="@item.Id">
<CascadingValue Value="_blazorDiagram" IsFixed="true">
<DiagramCanvas></DiagramCanvas>
<DiagramCanvas>
<Widgets>
<SelectionBoxWidget />
</Widgets>
</DiagramCanvas>
</CascadingValue>
</MudTabPanel>
</div>
Expand All @@ -45,7 +49,11 @@
{
<div Class="mud-height-full mud-width-full Rounded">
<CascadingValue Value="_blazorDiagram">
<DiagramCanvas></DiagramCanvas>
<DiagramCanvas>
<Widgets>
<SelectionBoxWidget />
</Widgets>
</DiagramCanvas>
</CascadingValue>
</div>
}
Expand Down

0 comments on commit ca5d3b7

Please sign in to comment.