|
62 | 62 |
|
63 | 63 | <Rectangle Width="1" Fill="{DynamicResource Brush.Border2}" Margin="4,4"/> |
64 | 64 |
|
65 | | - <!-- Current Conflict Resolution --> |
66 | | - <Button Classes="flat" |
67 | | - Content="{DynamicResource Text.MergeConflictEditor.UseMine}" |
68 | | - Click="OnUseCurrentMine" |
69 | | - ToolTip.Tip="{DynamicResource Text.MergeConflictEditor.UseMine.Tip}" |
70 | | - IsEnabled="{Binding HasUnresolvedConflicts}"/> |
71 | | - <Button Classes="flat" |
72 | | - Content="{DynamicResource Text.MergeConflictEditor.UseTheirs}" |
73 | | - Click="OnUseCurrentTheirs" |
74 | | - ToolTip.Tip="{DynamicResource Text.MergeConflictEditor.UseTheirs.Tip}" |
75 | | - IsEnabled="{Binding HasUnresolvedConflicts}"/> |
76 | | - |
77 | | - <Rectangle Width="1" Fill="{DynamicResource Brush.Border2}" Margin="4,4"/> |
78 | | - |
79 | 65 | <!-- All Conflicts Resolution --> |
80 | 66 | <Button Classes="flat" |
81 | 67 | Content="{DynamicResource Text.MergeConflictEditor.AcceptMine}" |
|
131 | 117 | DeletedHighlightBrush="{DynamicResource Brush.Diff.MineBG}" |
132 | 118 | BorderThickness="1" |
133 | 119 | BorderBrush="{DynamicResource Brush.Border2}"/> |
134 | | - <StackPanel x:Name="MinePopup" |
135 | | - IsVisible="False" |
136 | | - Orientation="Horizontal" |
137 | | - VerticalAlignment="Top" |
138 | | - HorizontalAlignment="Right" |
139 | | - Margin="0,0,8,0"> |
140 | | - <Border Background="{DynamicResource Brush.ToolBar}" |
141 | | - BorderBrush="{DynamicResource Brush.Border2}" |
142 | | - BorderThickness="1" |
143 | | - CornerRadius="4" |
144 | | - Padding="4,2" |
145 | | - BoxShadow="0 2 8 0 #40000000"> |
146 | | - <Button Classes="flat primary" |
147 | | - Content="{DynamicResource Text.MergeConflictEditor.UseMine}" |
148 | | - Click="OnUseMineFromHover"/> |
149 | | - </Border> |
150 | | - </StackPanel> |
| 120 | + <Border x:Name="MinePopup" |
| 121 | + IsVisible="False" |
| 122 | + VerticalAlignment="Top" |
| 123 | + HorizontalAlignment="Right" |
| 124 | + Background="{DynamicResource Brush.ToolBar}" |
| 125 | + BorderBrush="{DynamicResource Brush.Border2}" |
| 126 | + BorderThickness="1" |
| 127 | + CornerRadius="4" |
| 128 | + Padding="4,2" |
| 129 | + BoxShadow="0 2 8 0 #40000000"> |
| 130 | + <Button Classes="flat primary" |
| 131 | + Content="{DynamicResource Text.MergeConflictEditor.UseMine}" |
| 132 | + Click="OnUseMineFromHover"/> |
| 133 | + </Border> |
151 | 134 | </Grid> |
152 | 135 | </Grid> |
153 | 136 | </Border> |
|
175 | 158 | DeletedHighlightBrush="{DynamicResource Brush.Diff.DeletedHighlight}" |
176 | 159 | BorderThickness="1" |
177 | 160 | BorderBrush="{DynamicResource Brush.Border2}"/> |
178 | | - <StackPanel x:Name="TheirsPopup" |
179 | | - IsVisible="False" |
180 | | - Orientation="Horizontal" |
181 | | - VerticalAlignment="Top" |
182 | | - HorizontalAlignment="Right" |
183 | | - Margin="0,0,8,0"> |
184 | | - <Border Background="{DynamicResource Brush.ToolBar}" |
185 | | - BorderBrush="{DynamicResource Brush.Border2}" |
186 | | - BorderThickness="1" |
187 | | - CornerRadius="4" |
188 | | - Padding="4,2" |
189 | | - BoxShadow="0 2 8 0 #40000000"> |
190 | | - <Button Classes="flat primary" |
191 | | - Content="{DynamicResource Text.MergeConflictEditor.UseTheirs}" |
192 | | - Click="OnUseTheirsFromHover"/> |
193 | | - </Border> |
194 | | - </StackPanel> |
| 161 | + <Border x:Name="TheirsPopup" |
| 162 | + IsVisible="False" |
| 163 | + VerticalAlignment="Top" |
| 164 | + HorizontalAlignment="Right" |
| 165 | + Background="{DynamicResource Brush.ToolBar}" |
| 166 | + BorderBrush="{DynamicResource Brush.Border2}" |
| 167 | + BorderThickness="1" |
| 168 | + CornerRadius="4" |
| 169 | + Padding="4,2" |
| 170 | + BoxShadow="0 2 8 0 #40000000"> |
| 171 | + <Button Classes="flat primary" |
| 172 | + Content="{DynamicResource Text.MergeConflictEditor.UseTheirs}" |
| 173 | + Click="OnUseTheirsFromHover"/> |
| 174 | + </Border> |
195 | 175 | </Grid> |
196 | 176 | </Grid> |
197 | 177 | </Border> |
|
224 | 204 | TheirsContentBackground="{DynamicResource Brush.Diff.TheirsBG}" |
225 | 205 | BorderThickness="1" |
226 | 206 | BorderBrush="{DynamicResource Brush.Border2}"/> |
227 | | - <StackPanel x:Name="ResultPopup" |
228 | | - IsVisible="False" |
229 | | - Orientation="Horizontal" |
230 | | - VerticalAlignment="Top" |
231 | | - HorizontalAlignment="Right" |
232 | | - Margin="0,0,8,0" |
233 | | - Spacing="4"> |
234 | | - <Border Background="{DynamicResource Brush.ToolBar}" |
235 | | - BorderBrush="{DynamicResource Brush.Border2}" |
236 | | - BorderThickness="1" |
237 | | - CornerRadius="4" |
238 | | - Padding="4,2" |
239 | | - BoxShadow="0 2 8 0 #40000000"> |
| 207 | + <Border x:Name="ResultPopup" |
| 208 | + IsVisible="False" |
| 209 | + VerticalAlignment="Top" |
| 210 | + HorizontalAlignment="Right" |
| 211 | + Background="{DynamicResource Brush.ToolBar}" |
| 212 | + BorderBrush="{DynamicResource Brush.Border2}" |
| 213 | + BorderThickness="1" |
| 214 | + CornerRadius="4" |
| 215 | + Padding="4,2" |
| 216 | + BoxShadow="0 2 8 0 #40000000"> |
| 217 | + <StackPanel Orientation="Horizontal" Spacing="4"> |
240 | 218 | <Button Classes="flat primary" |
241 | 219 | Content="{DynamicResource Text.MergeConflictEditor.UseMine}" |
242 | 220 | Click="OnUseMineFromHover"/> |
243 | | - </Border> |
244 | | - <Border Background="{DynamicResource Brush.ToolBar}" |
245 | | - BorderBrush="{DynamicResource Brush.Border2}" |
246 | | - BorderThickness="1" |
247 | | - CornerRadius="4" |
248 | | - Padding="4,2" |
249 | | - BoxShadow="0 2 8 0 #40000000"> |
250 | 221 | <Button Classes="flat primary" |
251 | 222 | Content="{DynamicResource Text.MergeConflictEditor.UseTheirs}" |
252 | 223 | Click="OnUseTheirsFromHover"/> |
253 | | - </Border> |
254 | | - </StackPanel> |
| 224 | + </StackPanel> |
| 225 | + </Border> |
255 | 226 | </Grid> |
256 | 227 | </Grid> |
257 | 228 | </Border> |
|
0 commit comments