Skip to content

Commit 6fa454a

Browse files
committed
fix!: same hotkey for opening external diff tool and discard block (#1337)
Signed-off-by: leo <[email protected]>
1 parent 75b7724 commit 6fa454a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Views/DiffView.axaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,12 @@
178178
<Button Classes="icon_button"
179179
Width="28"
180180
Command="{Binding OpenExternalMergeTool}"
181-
HotKey="{OnPlatform Ctrl+D, macOS=⌘+D}">
181+
HotKey="{OnPlatform Ctrl+Alt+D, macOS=⌘+⌥+D}">
182182
<ToolTip.Tip>
183183
<TextBlock>
184184
<Run Text="{DynamicResource Text.Diff.UseMerger}"/>
185185
<Run Text=" "/>
186-
<Run Text="{OnPlatform Ctrl+D, macOS=⌘+D}" Foreground="{DynamicResource Brush.FG2}"/>
186+
<Run Text="{OnPlatform Ctrl+Alt+D, macOS=⌘+⌥+D}" Foreground="{DynamicResource Brush.FG2}"/>
187187
</TextBlock>
188188
</ToolTip.Tip>
189189
<Path Width="12" Height="12" Stretch="Uniform" Data="{StaticResource Icons.OpenWith}"/>

src/Views/Hotkeys.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
<TextBlock Grid.Row="3" Grid.Column="0" Classes="primary bold" Text="ESC"/>
150150
<TextBlock Grid.Row="3" Grid.Column="1" Margin="16,0,0,0" Text="{DynamicResource Text.Hotkeys.TextEditor.CloseSearch}" />
151151

152-
<TextBlock Grid.Row="4" Grid.Column="0" Classes="primary bold" Text="{OnPlatform Ctrl+D, macOS=⌘+D}"/>
152+
<TextBlock Grid.Row="4" Grid.Column="0" Classes="primary bold" Text="{OnPlatform Ctrl+Alt+D, macOS=⌘+⌥+D}"/>
153153
<TextBlock Grid.Row="4" Grid.Column="1" Margin="16,0,0,0" Text="{DynamicResource Text.Hotkeys.TextEditor.OpenExternalMergeTool}" />
154154
</Grid>
155155
</StackPanel>

0 commit comments

Comments
 (0)