mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-16 07:55:00 +00:00
feature: remember the last active tab index in lfs-image diff view
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
f716c5ee1e
commit
eebadd67a1
2 changed files with 8 additions and 1 deletions
|
@ -282,7 +282,7 @@
|
|||
|
||||
<!-- LFS Image Diff -->
|
||||
<DataTemplate DataType="vm:LFSImageDiff">
|
||||
<TabControl Margin="0,8,0,0">
|
||||
<TabControl Margin="0,8,0,0" SelectedIndex="{Binding Source={x:Static vm:Preferences.Instance}, Path=LFSImageDiffActiveIdx, Mode=TwoWay}">
|
||||
<TabControl.Styles>
|
||||
<Style Selector="TabControl /template/ ItemsPresenter#PART_ItemsPresenter > WrapPanel">
|
||||
<Setter Property="HorizontalAlignment" Value="Center"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue