File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -567,7 +567,7 @@ public ContextMenu CreateRevisionFileContextMenu(Models.Object file)
567
567
saveAs . Header = App . Text ( "SaveAs" ) ;
568
568
saveAs . Icon = App . CreateMenuIcon ( "Icons.Save" ) ;
569
569
saveAs . IsEnabled = file . Type == Models . ObjectType . Blob ;
570
- saveAs . Tag = OperatingSystem . IsMacOS ( ) ? "⌘+S" : "Ctrl+S" ;
570
+ saveAs . Tag = OperatingSystem . IsMacOS ( ) ? "⌘+⇧+ S" : "Ctrl+Shift +S" ;
571
571
saveAs . Click += async ( _ , ev ) =>
572
572
{
573
573
await SaveRevisionFile ( file ) ;
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ protected override async void OnKeyDown(KeyEventArgs e)
134
134
}
135
135
else if ( node . Backend is { Type : Models . ObjectType . Blob } file &&
136
136
e . Key == Key . S &&
137
- e . KeyModifiers . HasFlag ( OperatingSystem . IsMacOS ( ) ? KeyModifiers . Meta : KeyModifiers . Control ) )
137
+ e . KeyModifiers == ( ( OperatingSystem . IsMacOS ( ) ? KeyModifiers . Meta : KeyModifiers . Control ) | KeyModifiers . Shift ) )
138
138
{
139
139
var detailView = this . FindAncestorOfType < CommitDetail > ( ) ;
140
140
if ( detailView is { DataContext : ViewModels . CommitDetail detail } )
You can’t perform that action at this time.
0 commit comments