mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 02:40:24 +08:00
feature<DiffViewer>: use Shift instead of Alt for horizontal scrolling in diff viewer
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user