style: remove trailing whitespace
This commit is contained in:
parent
aece4bff18
commit
24034dcc99
|
@ -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();
|
||||||
|
|
|
@ -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; }
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user