From f3da972c0cba526f7784207c2d8ab48b5dd692f3 Mon Sep 17 00:00:00 2001 From: mob-sakai <12690315+mob-sakai@users.noreply.github.com> Date: Sun, 7 Jun 2026 20:11:51 +0900 Subject: [PATCH] fix: UIEffect.detailColor is not working close #399 --- Packages/src/Runtime/UIEffect.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Packages/src/Runtime/UIEffect.cs b/Packages/src/Runtime/UIEffect.cs index bb1ae5f..cae9b67 100644 --- a/Packages/src/Runtime/UIEffect.cs +++ b/Packages/src/Runtime/UIEffect.cs @@ -1359,11 +1359,11 @@ namespace Coffee.UIEffects public Color detailColor { - get => m_EdgeColor; + get => m_DetailColor; set { - if (m_EdgeColor == value) return; - context.m_DetailColor = m_EdgeColor = value; + if (m_DetailColor == value) return; + context.m_DetailColor = m_DetailColor = value; SetMaterialDirty(); } } @@ -1811,6 +1811,7 @@ namespace Coffee.UIEffects if (!append || src.m_DetailFilter != DetailFilter.None) { + dst.m_DetailColor = src.m_DetailColor; dst.m_DetailFilter = src.m_DetailFilter; dst.m_DetailIntensity = src.m_DetailIntensity; dst.m_DetailThreshold = src.m_DetailThreshold;