fix: refresh material when changing shadow mode

This commit is contained in:
ZeroGreen86
2026-08-14 18:52:11 +09:00
committed by mob-sakai
parent 2617f77c6a
commit 8bb782c90a
+1 -1
View File
@@ -843,7 +843,7 @@ namespace Coffee.UIEffects
if (m_ShadowMode == value) return; if (m_ShadowMode == value) return;
context.m_ShadowMode = m_ShadowMode = value; context.m_ShadowMode = m_ShadowMode = value;
SetVerticesDirty(); SetVerticesDirty();
SetVerticesDirty(); SetMaterialDirty();
} }
} }