From 58efbf5b59d97bba8c4ea41f80dd4f0a4e4599f1 Mon Sep 17 00:00:00 2001 From: Anna Date: Mon, 3 Jan 2022 16:20:22 -0500 Subject: [PATCH] style: remove trailing whitespace --- ChatTwo/PayloadHandler.cs | 2 +- ChatTwo/PluginUi.cs | 2 +- ChatTwo/TextureCache.cs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ChatTwo/PayloadHandler.cs b/ChatTwo/PayloadHandler.cs index 366fade..1230c63 100755 --- a/ChatTwo/PayloadHandler.cs +++ b/ChatTwo/PayloadHandler.cs @@ -112,7 +112,7 @@ internal sealed class PayloadHandler { private static void InlineIcon(TextureWrap icon) { var lineHeight = ImGui.CalcTextSize("A").Y; - + var cursor = ImGui.GetCursorPos(); ImGui.Image(icon.ImGuiHandle, new Vector2(icon.Width, icon.Height)); ImGui.SameLine(); diff --git a/ChatTwo/PluginUi.cs b/ChatTwo/PluginUi.cs index dc2119a..24e2f1b 100755 --- a/ChatTwo/PluginUi.cs +++ b/ChatTwo/PluginUi.cs @@ -11,7 +11,7 @@ internal sealed class PluginUi : IDisposable { internal Plugin Plugin { get; } internal bool SettingsVisible; - + internal ImFontPtr? RegularFont { get; private set; } internal ImFontPtr? ItalicFont { get; private set; } internal Vector4 DefaultText { get; private set; } diff --git a/ChatTwo/TextureCache.cs b/ChatTwo/TextureCache.cs index 138088a..f57d5bf 100755 --- a/ChatTwo/TextureCache.cs +++ b/ChatTwo/TextureCache.cs @@ -2,7 +2,7 @@ using ImGuiScene; using Lumina.Excel.GeneratedSheets; -namespace ChatTwo; +namespace ChatTwo; internal class TextureCache : IDisposable { private DataManager Data { get; } @@ -20,7 +20,7 @@ internal class TextureCache : IDisposable { public void Dispose() { var allIcons = this.ItemIcons.Values .Concat(this.StatusIcons.Values); - + foreach (var tex in allIcons) { tex.Dispose(); } @@ -30,7 +30,7 @@ internal class TextureCache : IDisposable { if (dict.ContainsKey(icon)) { return; } - + var tex = this.Data.GetImGuiTextureIcon(icon); if (tex != null) { dict[icon] = tex;