formatting

This commit is contained in:
Raymond 2021-09-10 08:01:44 -04:00
parent dda515da85
commit 1920d91eff
2 changed files with 4 additions and 3 deletions

View file

@ -1,11 +1,12 @@
namespace Dalamud.Interface.Internal.ManagedAsserts
{
/// <summary>
/// Offsets to various data for ImGui.Context
/// Offsets to various data in ImGui context.
/// </summary>
/// <remarks>
/// Last updated for ImGui 1.83
/// Last updated for ImGui 1.83.
/// </remarks>
[System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:Elements should be documented", Justification = "Document the unsage instead.")]
internal static class ImGuiContextOffsets
{
public const int CurrentWindowStackOffset = 0x73A;

View file

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Dalamud.Interface.Internal.ManagedAsserts;
using ImGuiNET;
using Serilog;
@ -104,7 +105,6 @@ namespace Dalamud.Interface.Windowing
var source = ($"{this.Namespace}::" ?? string.Empty) + window.WindowName;
ImGuiManagedAsserts.ReportProblems(source, snapshot);
}
var focusedWindow = this.windows.FirstOrDefault(x => x.IsFocused && x.RespectCloseHotkey);