From b63e0b481902eead12fc72a7c88f809ef8550584 Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Tue, 7 Jul 2020 16:56:28 -0400 Subject: [PATCH] Use RGB color over RGBA for adjusting image editor background --- .../Forms/Editors/ImageEditor/ImageEditorBase.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Switch_Toolbox_Library/Forms/Editors/ImageEditor/ImageEditorBase.cs b/Switch_Toolbox_Library/Forms/Editors/ImageEditor/ImageEditorBase.cs index 7109ce15..b91940cf 100644 --- a/Switch_Toolbox_Library/Forms/Editors/ImageEditor/ImageEditorBase.cs +++ b/Switch_Toolbox_Library/Forms/Editors/ImageEditor/ImageEditorBase.cs @@ -1395,8 +1395,8 @@ namespace Toolbox.Library.Forms }; colorDlg.ColorChanged += delegate { - ((PictureBox)sender).BackColor = colorDlg.NewColor; - Runtime.CustomPicureBoxBGColor = colorDlg.NewColor; + ((PictureBox)sender).BackColor = colorDlg.ColorRGB; + Runtime.CustomPicureBoxBGColor = colorDlg.ColorRGB; UpdateBackgroundImage(); }; colorDlg.Show();