From 9c0b9608dc81378e23304d644242dc8402fb550b Mon Sep 17 00:00:00 2001 From: Gadfly Date: Wed, 21 Aug 2024 10:18:09 +0800 Subject: [PATCH] fix: invalidate counter visual (#338) --- src/Views/Repository.axaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Views/Repository.axaml.cs b/src/Views/Repository.axaml.cs index 6c3c80ea..96d1f5a5 100644 --- a/src/Views/Repository.axaml.cs +++ b/src/Views/Repository.axaml.cs @@ -98,6 +98,7 @@ namespace SourceGit.Views _label = null; } + InvalidateVisual(); return _label != null ? new Size(_label.Width + 18, 18) : new Size(0, 0); }