fix: unable to add editor presets as runtime presets to project settings

close #330
This commit is contained in:
mob-sakai
2025-04-16 16:39:16 +09:00
parent f8682f3c98
commit 726bb100a0
@@ -48,7 +48,7 @@ namespace Coffee.UIEffects.Editors
_reorderableList.onAddDropdownCallback = (rect, list) =>
{
UIEffectEditor.DropDownPreset(rect,
x => !x.builtin && !UIEffectProjectSettings.instance.m_RuntimePresets.Contains(x.preset),
x => !UIEffectProjectSettings.instance.m_RuntimePresetsV2.Contains(x.preset),
UIEffectProjectSettings.RegisterRuntimePreset);
};