muffin v7.5.4
This commit is contained in:
parent
40d48d62b0
commit
a8f2c1df37
14 changed files with 1093 additions and 957 deletions
|
|
@ -519,9 +519,7 @@ internal sealed class SavedPresetsComponent
|
|||
string text = ImGui.GetClipboardText().Trim();
|
||||
if (text.StartsWith("qst:preset:", StringComparison.InvariantCulture))
|
||||
{
|
||||
string text2 = text;
|
||||
int length = "qst:preset:".Length;
|
||||
string s = text2.Substring(length, text2.Length - length);
|
||||
string s = text.Substring("qst:preset:".Length);
|
||||
return JsonConvert.DeserializeObject<PresetExportData>(Encoding.UTF8.GetString(Convert.FromBase64String(s)));
|
||||
}
|
||||
}
|
||||
|
|
@ -538,9 +536,7 @@ internal sealed class SavedPresetsComponent
|
|||
string text = ImGui.GetClipboardText().Trim();
|
||||
if (text.StartsWith("qst:presets:", StringComparison.InvariantCulture))
|
||||
{
|
||||
string text2 = text;
|
||||
int length = "qst:presets:".Length;
|
||||
string s = text2.Substring(length, text2.Length - length);
|
||||
string s = text.Substring("qst:presets:".Length);
|
||||
return JsonConvert.DeserializeObject<List<PresetExportData>>(Encoding.UTF8.GetString(Convert.FromBase64String(s)));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue