Renamed matrix brightness to gamma

This commit is contained in:
Serge
2024-04-26 12:19:39 +02:00
parent 6d36794f5e
commit 7e523d02c0
5 changed files with 75 additions and 80 deletions

View File

@@ -1097,7 +1097,7 @@ namespace GHelper
checkMatrixLid.Visible = true;
}
comboMatrix.SelectedIndex = Math.Min(AppConfig.Get("matrix_brightness", 0), comboMatrix.Items.Count - 1);
comboMatrix.SelectedIndex = Math.Max(0, Math.Min(AppConfig.Get("matrix_brightness", 0), comboMatrix.Items.Count - 1));
comboMatrixRunning.SelectedIndex = Math.Min(AppConfig.Get("matrix_running", 0), comboMatrixRunning.Items.Count - 1);
comboInterval.SelectedIndex = Math.Min(AppConfig.Get("matrix_interval", 0), comboInterval.Items.Count - 1);