From 109cd1f6f61b65098c98d592fde7a1e2b34a33bb Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 14 Sep 2019 21:30:08 -0500 Subject: [PATCH] Fix highlighting selected diagnostics buttons on P2. --- smx-config/DiagnosticsWidgets.cs | 4 ++-- smx-config/MainWindow.xaml | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/smx-config/DiagnosticsWidgets.cs b/smx-config/DiagnosticsWidgets.cs index 7af0619..d53769b 100644 --- a/smx-config/DiagnosticsWidgets.cs +++ b/smx-config/DiagnosticsWidgets.cs @@ -377,8 +377,8 @@ namespace smx_config // Return all panel selection buttons. DiagnosticsPanelButton[] getPanelSelectionButtons() { - DiagnosticsPanelButton[] result = new DiagnosticsPanelButton[9]; - for(int i = 0; i < 9; ++i) + DiagnosticsPanelButton[] result = new DiagnosticsPanelButton[18]; + for(int i = 0; i < 18; ++i) { result[i] = Template.FindName("Panel" + i, this) as DiagnosticsPanelButton; } diff --git a/smx-config/MainWindow.xaml b/smx-config/MainWindow.xaml index c599008..61c1a96 100644 --- a/smx-config/MainWindow.xaml +++ b/smx-config/MainWindow.xaml @@ -513,17 +513,17 @@ Use if the platform is too sensitive. - - - + + + - - - + + + - - - + + +