diff --git a/src/Views/Repository.axaml.cs b/src/Views/Repository.axaml.cs index 6c3c80ea..eb3158cd 100644 --- a/src/Views/Repository.axaml.cs +++ b/src/Views/Repository.axaml.cs @@ -63,11 +63,6 @@ namespace SourceGit.Views FontFamilyProperty, ForegroundProperty, CountProperty); - - AffectsRender( - ForegroundProperty, - BackgroundProperty, - CountProperty); } public override void Render(DrawingContext context) @@ -98,6 +93,7 @@ namespace SourceGit.Views _label = null; } + InvalidateVisual(); return _label != null ? new Size(_label.Width + 18, 18) : new Size(0, 0); }