mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
ux: move ahead/behind indicator to front of refs
This commit is contained in:
parent
9a15ff59d4
commit
b2e6de3afa
1 changed files with 10 additions and 10 deletions
|
@ -69,6 +69,16 @@
|
||||||
<DataTemplate x:DataType="{x:Type m:Commit}">
|
<DataTemplate x:DataType="{x:Type m:Commit}">
|
||||||
<Border Margin="{Binding Margin}">
|
<Border Margin="{Binding Margin}">
|
||||||
<StackPanel Orientation="Horizontal" Margin="2,0,0,0">
|
<StackPanel Orientation="Horizontal" Margin="2,0,0,0">
|
||||||
|
<Ellipse Width="5" Height="5"
|
||||||
|
Margin="0,0,4,0"
|
||||||
|
Fill="{DynamicResource Brush.Accent}"
|
||||||
|
IsVisible="{Binding CanPushToUpstream}"/>
|
||||||
|
|
||||||
|
<Ellipse Width="5" Height="5"
|
||||||
|
Margin="0,0,4,0"
|
||||||
|
Fill="{DynamicResource Brush.FG1}"
|
||||||
|
IsVisible="{Binding CanPullFromUpstream}"/>
|
||||||
|
|
||||||
<ItemsControl ItemsSource="{Binding Decorators}" IsVisible="{Binding HasDecorators}">
|
<ItemsControl ItemsSource="{Binding Decorators}" IsVisible="{Binding HasDecorators}">
|
||||||
<ItemsControl.ItemsPanel>
|
<ItemsControl.ItemsPanel>
|
||||||
<ItemsPanelTemplate>
|
<ItemsPanelTemplate>
|
||||||
|
@ -100,16 +110,6 @@
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ItemsControl.ItemTemplate>
|
</ItemsControl.ItemTemplate>
|
||||||
</ItemsControl>
|
</ItemsControl>
|
||||||
|
|
||||||
<Ellipse Width="5" Height="5"
|
|
||||||
Margin="0,0,4,0"
|
|
||||||
Fill="{DynamicResource Brush.Accent}"
|
|
||||||
IsVisible="{Binding CanPushToUpstream}"/>
|
|
||||||
|
|
||||||
<Ellipse Width="5" Height="5"
|
|
||||||
Margin="0,0,4,0"
|
|
||||||
Fill="{DynamicResource Brush.FG1}"
|
|
||||||
IsVisible="{Binding CanPullFromUpstream}"/>
|
|
||||||
|
|
||||||
<TextBlock Classes="monospace"
|
<TextBlock Classes="monospace"
|
||||||
Text="{Binding Subject}"
|
Text="{Binding Subject}"
|
||||||
|
|
Loading…
Reference in a new issue