|
226 | 226 | ToolTip.Placement="Top"
|
227 | 227 | ToolTip.VerticalOffset="0">
|
228 | 228 | <ToolTip.Tip>
|
229 |
| - <StackPanel Orientation="Vertical"> |
230 |
| - <TextBlock Text="{OnPlatform Ctrl+Enter, macOS=⌘+Enter}"/> |
231 |
| - <TextBlock Classes="small italic" |
232 |
| - Margin="0,4,0,0" |
233 |
| - Foreground="{DynamicResource Brush.FG2}"> |
234 |
| - <TextBlock.Text> |
235 |
| - <OnPlatform> |
236 |
| - <On Options="Windows, Linux"> |
237 |
| - <DynamicResource ResourceKey="Text.WorkingCopy.CommitWithAutoStage"/> |
238 |
| - </On> |
239 |
| - <On Options="macOS"> |
240 |
| - <DynamicResource ResourceKey="Text.WorkingCopy.CommitWithAutoStage.MacOS"/> |
241 |
| - </On> |
242 |
| - </OnPlatform> |
243 |
| - </TextBlock.Text> |
244 |
| - </TextBlock> |
245 |
| - </StackPanel> |
| 229 | + <TextBlock TextWrapping="Wrap" TextAlignment="Left"> |
| 230 | + <Run Text="{OnPlatform Ctrl+Enter, macOS=⌘+Enter}"/> |
| 231 | + <Run Foreground="{DynamicResource Brush.FG2}" |
| 232 | + FontSize="12" |
| 233 | + Text="{DynamicResource Text.WorkingCopy.CommitWithAutoStage}"/> |
| 234 | + </TextBlock> |
246 | 235 | </ToolTip.Tip>
|
247 | 236 | </Button>
|
248 | 237 |
|
249 |
| - <!-- Invisible button just to add another hotkey `Alt+Enter/⌥+Enter` to commit with auto-stage --> |
| 238 | + <!-- Invisible button just to add another hotkey `Ctrl+Shift+Enter` to commit with auto-stage --> |
250 | 239 | <Button Grid.Column="7"
|
251 | 240 | Width="0" Height="0"
|
252 | 241 | Background="Transparent"
|
253 | 242 | Command="{Binding CommitWithAutoStage}"
|
254 |
| - HotKey="Alt+Enter"/> |
| 243 | + HotKey="{OnPlatform Ctrl+Shift+Enter, macOS=⌘+Shift+Enter}"/> |
255 | 244 |
|
256 | 245 | <Button Grid.Column="8"
|
257 | 246 | Classes="flat"
|
|
260 | 249 | Margin="8,0,0,0"
|
261 | 250 | Padding="8,0"
|
262 | 251 | Command="{Binding CommitWithPush}"
|
263 |
| - HotKey="{OnPlatform Ctrl+Shift+Enter, macOS=⌘+Shift+Enter}" |
264 |
| - ToolTip.Tip="{OnPlatform Ctrl+Shift+Enter, macOS=⌘+Shift+Enter}" |
| 252 | + HotKey="Alt+Enter" |
| 253 | + ToolTip.Tip="{OnPlatform Alt+Enter, macOS=⌥+Enter}" |
265 | 254 | ToolTip.Placement="Top"
|
266 | 255 | ToolTip.VerticalOffset="0"
|
267 | 256 | IsVisible="{Binding IsCommitWithPushVisible}"/>
|
|
0 commit comments