|
133 | 133 | </StackPanel> |
134 | 134 | </Button> |
135 | 135 |
|
136 | | - <!-- Graph --> |
137 | | - <v:InteractiveRebasePath Grid.Column="2" |
138 | | - Fill="{DynamicResource Brush.FG1}" |
139 | | - Action="{Binding Action, Mode=OneWay}" |
140 | | - CanReword="{Binding CanReword, Mode=OneWay}"/> |
| 136 | + <!-- Indicator --> |
| 137 | + <v:InteractiveRebaseIndicator Grid.Column="2" |
| 138 | + Fill="{DynamicResource Brush.FG1}" |
| 139 | + Action="{Binding Action, Mode=OneWay}" |
| 140 | + CanReword="{Binding CanReword, Mode=OneWay}"/> |
141 | 141 |
|
142 | 142 | <!-- Subject --> |
143 | 143 | <Grid Grid.Column="3" ColumnDefinitions="Auto,*" ClipToBounds="True"> |
|
168 | 168 | Width="16" Height="16" |
169 | 169 | Margin="8,0,0,0" |
170 | 170 | VerticalAlignment="Center" |
171 | | - User="{Binding Commit.Author}"/> |
| 171 | + User="{Binding Commit.Author}" |
| 172 | + Opacity="{Binding CanReword, Converter={x:Static c:BoolConverters.IsMergedToOpacity}}"/> |
172 | 173 |
|
173 | 174 | <!-- Author Name --> |
174 | 175 | <Border Grid.Column="5" ClipToBounds="True"> |
175 | | - <TextBlock Margin="6,0,12,0" Text="{Binding Commit.Author.Name}"/> |
| 176 | + <TextBlock Margin="6,0,12,0" |
| 177 | + Text="{Binding Commit.Author.Name}" |
| 178 | + Opacity="{Binding CanReword, Converter={x:Static c:BoolConverters.IsMergedToOpacity}}"/> |
176 | 179 | </Border> |
177 | 180 |
|
178 | 181 | <!-- Commit SHA --> |
179 | 182 | <Border Grid.Column="6" ClipToBounds="True"> |
180 | | - <TextBlock Text="{Binding Commit.SHA, Converter={x:Static c:StringConverters.ToShortSHA}}"/> |
| 183 | + <TextBlock Text="{Binding Commit.SHA, Converter={x:Static c:StringConverters.ToShortSHA}}" |
| 184 | + Opacity="{Binding CanReword, Converter={x:Static c:BoolConverters.IsMergedToOpacity}}"/> |
181 | 185 | </Border> |
182 | 186 |
|
183 | 187 | <!-- Commit Time --> |
184 | 188 | <Border Grid.Column="7"> |
185 | | - <TextBlock Margin="16,0,8,0" Text="{Binding Commit.CommitterTimeStr}"/> |
| 189 | + <TextBlock Margin="16,0,8,0" |
| 190 | + Text="{Binding Commit.CommitterTimeStr}" |
| 191 | + Opacity="{Binding CanReword, Converter={x:Static c:BoolConverters.IsMergedToOpacity}}"/> |
186 | 192 | </Border> |
187 | 193 |
|
188 | 194 | <!-- Drop Indicator --> |
|
0 commit comments