From f904b3b71aa35389d524d2680e8320ffacf43ddf Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 4 Jul 2024 19:12:22 +0800 Subject: [PATCH] enhance: improve performance --- src/Views/Repository.axaml | 13 +++++++--- src/Views/Repository.axaml.cs | 48 ++++++++++++++++++++++++++++++----- 2 files changed, 51 insertions(+), 10 deletions(-) diff --git a/src/Views/Repository.axaml b/src/Views/Repository.axaml index a18f8b3c..feb3881a 100644 --- a/src/Views/Repository.axaml +++ b/src/Views/Repository.axaml @@ -231,7 +231,7 @@ - + @@ -245,7 +245,8 @@ ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" ContextRequested="OnLocalBranchContextMenuRequested" - SelectionChanged="OnLocalBranchTreeSelectionChanged"> + SelectionChanged="OnLocalBranchTreeSelectionChanged" + PropertyChanged="OnLeftSidebarTreeViewPropertyChanged">