From e19682e50d81763ee9f4f6169be018211b003f2b Mon Sep 17 00:00:00 2001 From: Infi Date: Tue, 21 May 2024 10:56:42 +0200 Subject: [PATCH] Shuffle entries --- ChatTwo/Resources/Language.Designer.cs | 4 ++-- ChatTwo/Resources/Language.resx | 4 ++-- ChatTwo/Ui/SettingsTabs/Preview.cs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ChatTwo/Resources/Language.Designer.cs b/ChatTwo/Resources/Language.Designer.cs index 915d9d5..455a60f 100755 --- a/ChatTwo/Resources/Language.Designer.cs +++ b/ChatTwo/Resources/Language.Designer.cs @@ -2472,7 +2472,7 @@ namespace ChatTwo.Resources { } /// - /// Looks up a localized string similar to Show only if the text length is greater-than or equal. + /// Looks up a localized string similar to Only show if the text length is greater-than or equal. /// internal static string Options_PreviewMinimum_Description { get { @@ -2490,7 +2490,7 @@ namespace ChatTwo.Resources { } /// - /// Looks up a localized string similar to Show only if the text contains special parameter. + /// Looks up a localized string similar to Only show if the text contains special parameter. /// internal static string Options_PreviewOnlyIf_Description { get { diff --git a/ChatTwo/Resources/Language.resx b/ChatTwo/Resources/Language.resx index 59f1ff6..1208af4 100644 --- a/ChatTwo/Resources/Language.resx +++ b/ChatTwo/Resources/Language.resx @@ -1079,13 +1079,13 @@ Must contain parameter - Show only if the text contains special parameter + Only show if the text contains special parameter Minimum input length - Show only if the text length is greater-than or equal + Only show if the text length is greater-than or equal Preview diff --git a/ChatTwo/Ui/SettingsTabs/Preview.cs b/ChatTwo/Ui/SettingsTabs/Preview.cs index 36e3d55..a67d6fd 100644 --- a/ChatTwo/Ui/SettingsTabs/Preview.cs +++ b/ChatTwo/Ui/SettingsTabs/Preview.cs @@ -33,10 +33,10 @@ internal sealed class Preview : ISettingsTab ImGuiUtil.HelpText(Language.Options_Preview_Description); ImGui.Spacing(); - ImGuiUtil.OptionCheckbox(ref Mutable.OnlyPreviewIf, Language.Options_PreviewOnlyIf_Name, Language.Options_PreviewOnlyIf_Description); - ImGui.Spacing(); if (ImGuiUtil.InputIntVertical(Language.Options_PreviewMinimum_Name, Language.Options_PreviewMinimum_Description, ref Mutable.PreviewMinimum)) Mutable.PreviewMinimum = Math.Clamp(Mutable.PreviewMinimum, 1, 250); + ImGui.Spacing(); + ImGuiUtil.OptionCheckbox(ref Mutable.OnlyPreviewIf, Language.Options_PreviewOnlyIf_Name, Language.Options_PreviewOnlyIf_Description); ImGui.Spacing(); }