Fix meta manipulation copy/paste.

This commit is contained in:
Ottermandias 2024-11-27 18:00:57 +01:00
parent 8242cde15c
commit 0aa8a44b8d

View file

@ -154,7 +154,7 @@ public abstract class MetaDrawer<TIdentifier, TEntry>(ModMetaEditor editor, Meta
if (!ImUtf8.IconButton(FontAwesomeIcon.Clipboard, tooltip)) if (!ImUtf8.IconButton(FontAwesomeIcon.Clipboard, tooltip))
return; return;
var text = Functions.ToCompressedBase64(manipulations, MetaApi.CurrentVersion); var text = Functions.ToCompressedBase64(manipulations.Value, MetaApi.CurrentVersion);
if (text.Length > 0) if (text.Length > 0)
ImGui.SetClipboardText(text); ImGui.SetClipboardText(text);
} }