fix: UIEffect.detailColor is not working

close #399
This commit is contained in:
mob-sakai
2026-06-07 20:11:51 +09:00
parent 2d6f7ed63d
commit f3da972c0c
+4 -3
View File
@@ -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;