From 8d906a78365147833c8d9ba58224c7819a957d4d Mon Sep 17 00:00:00 2001 From: mob-sakai <12690315+mob-sakai@users.noreply.github.com> Date: Wed, 25 Nov 2026 21:16:50 +0900 Subject: [PATCH] fix: picked color is incorrect when `enableColorCorrection=true` --- Packages/src/Editor/UIEffectPropertyEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/src/Editor/UIEffectPropertyEditor.cs b/Packages/src/Editor/UIEffectPropertyEditor.cs index 2d8606f..e2f2af0 100644 --- a/Packages/src/Editor/UIEffectPropertyEditor.cs +++ b/Packages/src/Editor/UIEffectPropertyEditor.cs @@ -525,7 +525,7 @@ namespace Coffee.UIEffects.Editors var colorValue = EditorGUI.ColorField(colorRect, label, color.colorValue, true, showAlpha, hdr); if (EditorGUI.EndChangeCheck()) { - color.colorValue = colorValue; + color.colorValue = UIEffectProjectSettings.enableColorCorrection ? colorValue : colorValue.gamma; } if (GUI.Button(pasteRect, s_PasteColorContent, "IconButton"))