Skip to content

Commit

Permalink
Merge pull request #75 from ElektroKill/fix/issue65
Browse files Browse the repository at this point in the history
Fix CFG nodes rendering out of bounds
  • Loading branch information
holly-hacker authored Jan 20, 2023
2 parents 5f16a80 + 68c4c0f commit 07dd3cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dnSpy.Extension.HoLLy/ControlFlowGraph/GraphControl.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
Expand All @@ -20,6 +20,7 @@ public GraphControl(GraphProvider echoGraph, ITheme theme, FontSettings font)
// could set LastChildFill to true, doesn't seem to matter
Panel.HorizontalAlignment = HorizontalAlignment.Stretch;
Panel.VerticalAlignment = VerticalAlignment.Stretch;
Panel.ClipToBounds = true;

var viewer = new GraphViewer();
viewer.BindToPanel(Panel);
Expand Down
2 changes: 1 addition & 1 deletion dnSpy.Extension.HoLLy/dnSpy.Extension.HoLLy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="AutomaticGraphLayout.WpfGraphControl" Version="1.1.7" />
<PackageReference Include="AutomaticGraphLayout.WpfGraphControl" Version="1.1.12" />
<PackageReference Include="dnlib" Version="$(DnlibVersion)" />
<PackageReference Include="Microsoft.VisualStudio.Text.UI.Wpf" Version="$(MSVSTextVersion)" />
<PackageReference Include="Iced" Version="$(IcedVersion)" />
Expand Down

0 comments on commit 07dd3cf

Please sign in to comment.