style: remove trailing whitespace

This commit is contained in:
Anna
2022-01-03 16:20:22 -05:00
parent b66ccaa1c0
commit 58efbf5b59
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -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; }
+3 -3
View File
@@ -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;