From 185f24ce4988946865c7816e9e2dd42454e1eadb Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Sat, 11 May 2024 20:19:51 -0500 Subject: [PATCH] Fix value alpha transparency being applied twice to preview color. --- Source/Editor/GUI/Dialogs/ColorPickerDialog.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/GUI/Dialogs/ColorPickerDialog.cs b/Source/Editor/GUI/Dialogs/ColorPickerDialog.cs index 9704a33fa..fc66f284a 100644 --- a/Source/Editor/GUI/Dialogs/ColorPickerDialog.cs +++ b/Source/Editor/GUI/Dialogs/ColorPickerDialog.cs @@ -389,7 +389,7 @@ namespace FlaxEditor.GUI.Dialogs } } } - Render2D.FillRectangle(newRect, _value * _value.A); + Render2D.FillRectangle(newRect, _value); } ///