Show the diagnostics mode dropdown by default.

This commit is contained in:
Glenn Maynard 2019-06-09 16:48:28 -05:00
parent ec848441d7
commit 0c19451d7d

View File

@ -191,9 +191,6 @@ namespace smx_config
P1Diagnostics = Template.FindName("P1Diagnostics", this) as FrameworkElement; P1Diagnostics = Template.FindName("P1Diagnostics", this) as FrameworkElement;
P2Diagnostics = Template.FindName("P2Diagnostics", this) as FrameworkElement; P2Diagnostics = Template.FindName("P2Diagnostics", this) as FrameworkElement;
// Only show the mode dropdown in debug mode. In regular use, just show calibrated values.
DiagnosticMode.Visibility = Helpers.GetDebug()? Visibility.Visible:Visibility.Collapsed;
DIPLabelRight = Template.FindName("DIPLabelRight", this) as FrameworkElement; DIPLabelRight = Template.FindName("DIPLabelRight", this) as FrameworkElement;
DIPLabelLeft = Template.FindName("DIPLabelLeft", this) as FrameworkElement; DIPLabelLeft = Template.FindName("DIPLabelLeft", this) as FrameworkElement;