Space the Studio drawer's ReplaceKey and FreshKey arguments
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
29bec57021
commit
b03118db2c
1 changed files with 2 additions and 2 deletions
|
|
@ -245,7 +245,7 @@ namespace GameCult.Unity.Caching.Editor
|
|||
var item = DrawValue("Value", shape.ValueType, entries[i].Value, member, path + "{" + i + "}.value");
|
||||
if (EditorGUI.EndChangeCheck())
|
||||
{
|
||||
key = Model.ReplaceKey(_edit.Document.GetType(),shape.Type, entries.Select(e => e.Key).ToArray(), i, key, out var notice);
|
||||
key = Model.ReplaceKey(_edit.Document.GetType(), shape.Type, entries.Select(e => e.Key).ToArray(), i, key, out var notice);
|
||||
Notice(path, notice);
|
||||
entries[i] = new KeyValuePair<object, object>(key, item);
|
||||
changed = true;
|
||||
|
|
@ -264,7 +264,7 @@ namespace GameCult.Unity.Caching.Editor
|
|||
|
||||
if (Add(shape.ValueType, path, out var created))
|
||||
{
|
||||
var fresh = Model.FreshKey(_edit.Document.GetType(),shape.Type, entries.Select(e => e.Key).ToArray(), Records, out var notice);
|
||||
var fresh = Model.FreshKey(_edit.Document.GetType(), shape.Type, entries.Select(e => e.Key).ToArray(), Records, out var notice);
|
||||
Notice(path, notice);
|
||||
if (fresh != null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue