Correctly reset italic

This commit is contained in:
Infi
2024-07-25 15:38:25 +02:00
parent 1149172049
commit 459cfa72ea
4 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -52,7 +52,7 @@
<PackageReference Include="DalamudPackager" Version="2.1.13" /> <PackageReference Include="DalamudPackager" Version="2.1.13" />
<PackageReference Include="MessagePack" Version="2.5.140" /> <PackageReference Include="MessagePack" Version="2.5.140" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.4" /> <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.4" />
<PackageReference Include="Pidgin" Version="3.2.2"/> <PackageReference Include="Pidgin" Version="3.2.3" />
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.5" /> <PackageReference Include="SixLabors.ImageSharp" Version="3.1.5" />
</ItemGroup> </ItemGroup>
+1 -1
View File
@@ -30,4 +30,4 @@ changelog: |-
**LiteDB** **LiteDB**
- Migration option removed - Migration option removed
- Old files can still be removed in the database tab - Old files can still be deleted in the database tab
+3
View File
@@ -69,7 +69,10 @@ public class Fonts : ISettingsTab
}); });
ImGui.SameLine(); ImGui.SameLine();
if (ImGui.Button("Reset##italic")) if (ImGui.Button("Reset##italic"))
{
Mutable.ItalicEnabled = false;
Mutable.ItalicFontV2 = new SingleFontSpec{ FontId = new DalamudAssetFontAndFamilyId(DalamudAsset.NotoSansKrRegular), SizePt = 12.75f }; Mutable.ItalicFontV2 = new SingleFontSpec{ FontId = new DalamudAssetFontAndFamilyId(DalamudAsset.NotoSansKrRegular), SizePt = 12.75f };
}
ImGuiUtil.HelpText(string.Format(Language.Options_Italic_Description, Plugin.PluginName)); ImGuiUtil.HelpText(string.Format(Language.Options_Italic_Description, Plugin.PluginName));
ImGui.Spacing(); ImGui.Spacing();
+3 -3
View File
@@ -31,9 +31,9 @@
}, },
"Pidgin": { "Pidgin": {
"type": "Direct", "type": "Direct",
"requested": "[3.2.2, )", "requested": "[3.2.3, )",
"resolved": "3.2.2", "resolved": "3.2.3",
"contentHash": "imvuRt8fzxJCJs9kCk7s418NRyEdP6aDtz2qL9XYcn1ywTkpnrSq4IORVTQ879HNoTfJkyGkFadmEoCZEsebGg==" "contentHash": "/1Q/f9asEZH7bogARG4EUxYT3LGB+mNC19db4unmx8gL04kkPzkg1VuX/BFk4UMJsqVopYComG/ydCrj1flCww=="
}, },
"SixLabors.ImageSharp": { "SixLabors.ImageSharp": {
"type": "Direct", "type": "Direct",