refactor: using a new DotBrushProperty instead of calling Application.TryGetResource

This commit is contained in:
leo 2024-04-17 16:16:11 +08:00
parent 3a3c0e717f
commit 1e3711e569
2 changed files with 10 additions and 14 deletions

View file

@ -131,6 +131,7 @@
<v:CommitGraph x:Name="commitGraph"
BindingDataGrid="{Binding #commitDataGrid}"
Graph="{Binding Graph}"
DotBrush="{DynamicResource Brush.Contents}"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
IsHitTestVisible="False"
ClipToBounds="True"/>