diff --git a/dnSpy.Extension.HoLLy/ControlFlowGraph/GraphControl.xaml.cs b/dnSpy.Extension.HoLLy/ControlFlowGraph/GraphControl.xaml.cs index f8161d1..2280c79 100644 --- a/dnSpy.Extension.HoLLy/ControlFlowGraph/GraphControl.xaml.cs +++ b/dnSpy.Extension.HoLLy/ControlFlowGraph/GraphControl.xaml.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Linq; using System.Reflection; @@ -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); diff --git a/dnSpy.Extension.HoLLy/dnSpy.Extension.HoLLy.csproj b/dnSpy.Extension.HoLLy/dnSpy.Extension.HoLLy.csproj index 671a4a3..169a971 100644 --- a/dnSpy.Extension.HoLLy/dnSpy.Extension.HoLLy.csproj +++ b/dnSpy.Extension.HoLLy/dnSpy.Extension.HoLLy.csproj @@ -42,7 +42,7 @@ - +