mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
feature<DiffViewer>: use Shift instead of Alt for horizontal scrolling in diff viewer
This commit is contained in:
parent
7551031b93
commit
524eb8ef6d
1 changed files with 1 additions and 1 deletions
|
@ -570,7 +570,7 @@ namespace SourceGit.Views.Widgets {
|
|||
}
|
||||
|
||||
private void OnTextDiffPreviewMouseWheel(object sender, MouseWheelEventArgs e) {
|
||||
if (Keyboard.IsKeyDown(Key.LeftAlt) || Keyboard.IsKeyDown(Key.RightAlt)) {
|
||||
if (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift)) {
|
||||
var editor = sender as DataGrid;
|
||||
if (editor == null) return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue