From 28e3a1bb27c5c9e8bae7565f22b3382bbc206926 Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 6 Aug 2020 11:31:20 +0800 Subject: [PATCH] optimize(Manager): add context menu for recent opened repositories --- SourceGit/UI/Manager.xaml | 26 ++++++++++------------- SourceGit/UI/Manager.xaml.cs | 41 ++++++++++++++++++++++++++++++++---- 2 files changed, 48 insertions(+), 19 deletions(-) diff --git a/SourceGit/UI/Manager.xaml b/SourceGit/UI/Manager.xaml index 48ebdd46..35685c3e 100644 --- a/SourceGit/UI/Manager.xaml +++ b/SourceGit/UI/Manager.xaml @@ -36,11 +36,16 @@ Background="Transparent" BorderThickness="0" Style="{StaticResource Style.ListView.Borderless}" - ItemContainerStyle="{StaticResource Style.ListViewItem.Borderless}" ScrollViewer.HorizontalScrollBarVisibility="Disabled" GotFocus="RecentsGotFocus" SelectionChanged="RecentsSelectionChanged" MouseDoubleClick="RecentsMouseDoubleClick"> + + + + @@ -143,20 +148,11 @@ - - - - - - - - - + + +