diff --git a/DS4Windows/DS4Control/ScpUtil.cs b/DS4Windows/DS4Control/ScpUtil.cs index 32d93b2..a7e98bf 100644 --- a/DS4Windows/DS4Control/ScpUtil.cs +++ b/DS4Windows/DS4Control/ScpUtil.cs @@ -425,8 +425,7 @@ namespace DS4Windows [DS4Controls.SwipeLeft] = "Swipe Left", [DS4Controls.SwipeRight] = "Swipe Right", [DS4Controls.SwipeUp] = "Swipe Up", - [DS4Controls.SwipeUp] = "Swipe Up", - [DS4Controls.SwipeDown] = "None", + [DS4Controls.SwipeDown] = "Swipe Down", }; public static Dictionary macroDS4Values = new Dictionary() diff --git a/DS4Windows/DS4Forms/MainWindow.xaml.cs b/DS4Windows/DS4Forms/MainWindow.xaml.cs index 619c208..802f88f 100644 --- a/DS4Windows/DS4Forms/MainWindow.xaml.cs +++ b/DS4Windows/DS4Forms/MainWindow.xaml.cs @@ -301,7 +301,10 @@ Suspend support not enabled.", true); Dispatcher.BeginInvoke((Action)(() => { int count = logListView.Items.Count; - logListView.ScrollIntoView(logvm.LogItems[count > 0 ? count-1 : 0]); + if (count > 0) + { + logListView.ScrollIntoView(logvm.LogItems[count - 1]); + } })); } } diff --git a/DS4Windows/DS4Forms/ProfileEditor.xaml b/DS4Windows/DS4Forms/ProfileEditor.xaml index 751dde4..c5eed4d 100644 --- a/DS4Windows/DS4Forms/ProfileEditor.xaml +++ b/DS4Windows/DS4Forms/ProfileEditor.xaml @@ -57,16 +57,16 @@