From b01876761753b8b26f589ea7476eeae3e8b4e0da Mon Sep 17 00:00:00 2001 From: rootdarkarchon Date: Mon, 23 Jan 2023 12:58:12 +0100 Subject: [PATCH] fix indentation --- MareSynchronos/UI/SettingsUi.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MareSynchronos/UI/SettingsUi.cs b/MareSynchronos/UI/SettingsUi.cs index f9450eb..44a456b 100644 --- a/MareSynchronos/UI/SettingsUi.cs +++ b/MareSynchronos/UI/SettingsUi.cs @@ -726,9 +726,10 @@ public class SettingsUi : Window, IDisposable if (_readExport) { + ImGui.Indent(); + if (!_mareCharaFileManager.CurrentlyWorking) { - ImGui.Indent(); ImGui.InputTextWithHint("Export Descriptor", "This description will be shown on loading the data", ref _exportDescription, 255); if (UiShared.IconTextButton(FontAwesomeIcon.Save, "Export Character as MCDF")) { @@ -750,12 +751,13 @@ public class SettingsUi : Window, IDisposable }); }); } - ImGui.Unindent(); } else { UiShared.ColorTextWrapped("Export in progress", ImGuiColors.DalamudYellow); } + + ImGui.Unindent(); } bool openInGpose = _configuration.OpenGposeImportOnGposeStart; if (ImGui.Checkbox("Open MCDF import window when GPose loads", ref openInGpose))