style: remove trailing whitespace
This commit is contained in:
parent
b66ccaa1c0
commit
58efbf5b59
|
@ -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();
|
||||
|
|
|
@ -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; }
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue