Matrix Brightness reset

This commit is contained in:
Serge
2024-04-26 12:07:49 +02:00
parent 271b2fd627
commit 6d36794f5e

View File

@@ -120,6 +120,7 @@ namespace GHelper
private void ButtonReset_Click(object? sender, EventArgs e) private void ButtonReset_Click(object? sender, EventArgs e)
{ {
AppConfig.Set("matrix_brightness", 0);
AppConfig.Set("matrix_contrast", 100); AppConfig.Set("matrix_contrast", 100);
AppConfig.Set("matrix_zoom", 100); AppConfig.Set("matrix_zoom", 100);
AppConfig.Set("matrix_x", 0); AppConfig.Set("matrix_x", 0);
@@ -127,6 +128,7 @@ namespace GHelper
trackZoom.Value = 100; trackZoom.Value = 100;
trackContrast.Value = 100; trackContrast.Value = 100;
trackBrightness.Value = 0;
SetMatrixPicture(); SetMatrixPicture();