style: remove trailing whitespace

This commit is contained in:
Anna 2022-01-03 16:20:22 -05:00
parent aece4bff18
commit 24034dcc99
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0
3 changed files with 5 additions and 5 deletions

View File

@ -112,7 +112,7 @@ internal sealed class PayloadHandler {
private static void InlineIcon(TextureWrap icon) { private static void InlineIcon(TextureWrap icon) {
var lineHeight = ImGui.CalcTextSize("A").Y; var lineHeight = ImGui.CalcTextSize("A").Y;
var cursor = ImGui.GetCursorPos(); var cursor = ImGui.GetCursorPos();
ImGui.Image(icon.ImGuiHandle, new Vector2(icon.Width, icon.Height)); ImGui.Image(icon.ImGuiHandle, new Vector2(icon.Width, icon.Height));
ImGui.SameLine(); ImGui.SameLine();

View File

@ -11,7 +11,7 @@ internal sealed class PluginUi : IDisposable {
internal Plugin Plugin { get; } internal Plugin Plugin { get; }
internal bool SettingsVisible; internal bool SettingsVisible;
internal ImFontPtr? RegularFont { get; private set; } internal ImFontPtr? RegularFont { get; private set; }
internal ImFontPtr? ItalicFont { get; private set; } internal ImFontPtr? ItalicFont { get; private set; }
internal Vector4 DefaultText { get; private set; } internal Vector4 DefaultText { get; private set; }

View File

@ -2,7 +2,7 @@
using ImGuiScene; using ImGuiScene;
using Lumina.Excel.GeneratedSheets; using Lumina.Excel.GeneratedSheets;
namespace ChatTwo; namespace ChatTwo;
internal class TextureCache : IDisposable { internal class TextureCache : IDisposable {
private DataManager Data { get; } private DataManager Data { get; }
@ -20,7 +20,7 @@ internal class TextureCache : IDisposable {
public void Dispose() { public void Dispose() {
var allIcons = this.ItemIcons.Values var allIcons = this.ItemIcons.Values
.Concat(this.StatusIcons.Values); .Concat(this.StatusIcons.Values);
foreach (var tex in allIcons) { foreach (var tex in allIcons) {
tex.Dispose(); tex.Dispose();
} }
@ -30,7 +30,7 @@ internal class TextureCache : IDisposable {
if (dict.ContainsKey(icon)) { if (dict.ContainsKey(icon)) {
return; return;
} }
var tex = this.Data.GetImGuiTextureIcon(icon); var tex = this.Data.GetImGuiTextureIcon(icon);
if (tex != null) { if (tex != null) {
dict[icon] = tex; dict[icon] = tex;