Skip to content

Commit 4e47235

Browse files
committed
fix: should use Alt instead of in hotkey bindings (#1476)
Signed-off-by: leo <[email protected]>
1 parent 63affef commit 4e47235

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Views/DiffView.axaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<Button Classes="icon_button"
3838
Width="28"
3939
Click="OnGotoFirstChange"
40-
HotKey="{OnPlatform Ctrl+Alt+Home, macOS=⌘++Home}">
40+
HotKey="{OnPlatform Ctrl+Alt+Home, macOS=⌘+Alt+Home}">
4141
<ToolTip.Tip>
4242
<TextBlock>
4343
<Run Text="{DynamicResource Text.Diff.First}"/>
@@ -58,7 +58,7 @@
5858
Width="28"
5959
Click="OnGotoPrevChange"
6060
IsVisible="{Binding IsTextDiff}"
61-
HotKey="{OnPlatform Ctrl+Alt+Up, macOS=⌘++Up}">
61+
HotKey="{OnPlatform Ctrl+Alt+Up, macOS=⌘+Alt+Up}">
6262
<ToolTip.Tip>
6363
<TextBlock>
6464
<Run Text="{DynamicResource Text.Diff.Prev}"/>
@@ -98,7 +98,7 @@
9898
<Button Classes="icon_button"
9999
Width="28"
100100
Click="OnGotoLastChange"
101-
HotKey="{OnPlatform Ctrl+Alt+End, macOS=⌘++End}">
101+
HotKey="{OnPlatform Ctrl+Alt+End, macOS=⌘+Alt+End}">
102102
<ToolTip.Tip>
103103
<TextBlock>
104104
<Run Text="{DynamicResource Text.Diff.Last}"/>

0 commit comments

Comments
 (0)