fix: built-in presets cannot be used with UIEffectReplica

This commit is contained in:
mob-sakai
2025-04-17 17:38:03 +09:00
parent 2861b1ce61
commit 1106f4bf46
+1 -1
View File
@@ -48,7 +48,7 @@ namespace Coffee.UIEffects.Editors
r.width = 60;
if (GUI.Button(r, EditorGUIUtility.TrTempContent("Preset"), "MiniPopup"))
{
UIEffectEditor.DropDownPreset(r, x => !x.builtin, p =>
UIEffectEditor.DropDownPreset(r, null, p =>
{
_target.objectReferenceValue = null;
_preset.objectReferenceValue = p;