From 459cfa72ea32b90584e6becac7e3527e48732450 Mon Sep 17 00:00:00 2001 From: Infi Date: Thu, 25 Jul 2024 15:38:25 +0200 Subject: [PATCH] Correctly reset italic --- ChatTwo/ChatTwo.csproj | 2 +- ChatTwo/ChatTwo.yaml | 2 +- ChatTwo/Ui/SettingsTabs/Fonts.cs | 3 +++ ChatTwo/packages.lock.json | 6 +++--- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChatTwo/ChatTwo.csproj b/ChatTwo/ChatTwo.csproj index 7b46571..4c9e7fe 100755 --- a/ChatTwo/ChatTwo.csproj +++ b/ChatTwo/ChatTwo.csproj @@ -52,7 +52,7 @@ - + diff --git a/ChatTwo/ChatTwo.yaml b/ChatTwo/ChatTwo.yaml index f7fd436..bd9764c 100755 --- a/ChatTwo/ChatTwo.yaml +++ b/ChatTwo/ChatTwo.yaml @@ -30,4 +30,4 @@ changelog: |- **LiteDB** - Migration option removed - - Old files can still be removed in the database tab + - Old files can still be deleted in the database tab diff --git a/ChatTwo/Ui/SettingsTabs/Fonts.cs b/ChatTwo/Ui/SettingsTabs/Fonts.cs index 910e4e7..2a02144 100755 --- a/ChatTwo/Ui/SettingsTabs/Fonts.cs +++ b/ChatTwo/Ui/SettingsTabs/Fonts.cs @@ -69,7 +69,10 @@ public class Fonts : ISettingsTab }); ImGui.SameLine(); if (ImGui.Button("Reset##italic")) + { + Mutable.ItalicEnabled = false; Mutable.ItalicFontV2 = new SingleFontSpec{ FontId = new DalamudAssetFontAndFamilyId(DalamudAsset.NotoSansKrRegular), SizePt = 12.75f }; + } ImGuiUtil.HelpText(string.Format(Language.Options_Italic_Description, Plugin.PluginName)); ImGui.Spacing(); diff --git a/ChatTwo/packages.lock.json b/ChatTwo/packages.lock.json index ce33da2..4befe7c 100644 --- a/ChatTwo/packages.lock.json +++ b/ChatTwo/packages.lock.json @@ -31,9 +31,9 @@ }, "Pidgin": { "type": "Direct", - "requested": "[3.2.2, )", - "resolved": "3.2.2", - "contentHash": "imvuRt8fzxJCJs9kCk7s418NRyEdP6aDtz2qL9XYcn1ywTkpnrSq4IORVTQ879HNoTfJkyGkFadmEoCZEsebGg==" + "requested": "[3.2.3, )", + "resolved": "3.2.3", + "contentHash": "/1Q/f9asEZH7bogARG4EUxYT3LGB+mNC19db4unmx8gL04kkPzkg1VuX/BFk4UMJsqVopYComG/ydCrj1flCww==" }, "SixLabors.ImageSharp": { "type": "Direct",