From c11bd629dadf9a94454d90a43c70d401baf3b0c3 Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Fri, 24 Nov 2023 13:45:18 +0100 Subject: [PATCH] Save off the main thread. --- Glamourer/EphemeralConfig.cs | 3 ++- OtterGui | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Glamourer/EphemeralConfig.cs b/Glamourer/EphemeralConfig.cs index 349a021..4bd57ed 100644 --- a/Glamourer/EphemeralConfig.cs +++ b/Glamourer/EphemeralConfig.cs @@ -66,7 +66,8 @@ public class EphemeralConfig : ISavable public void Save(StreamWriter writer) { - using var jWriter = new JsonTextWriter(writer) { Formatting = Formatting.Indented }; + using var jWriter = new JsonTextWriter(writer); + jWriter.Formatting = Formatting.Indented; var serializer = new JsonSerializer { Formatting = Formatting.Indented }; serializer.Serialize(jWriter, this); } diff --git a/OtterGui b/OtterGui index 0c50c8d..3a1a3f1 160000 --- a/OtterGui +++ b/OtterGui @@ -1 +1 @@ -Subproject commit 0c50c8d038e4347e6705076f47a89f478666a301 +Subproject commit 3a1a3f1a1f2021b063617ac9b294b579a154706e