From 1920d91eff13c25d6d9877783a3767454a0818af Mon Sep 17 00:00:00 2001 From: Raymond Date: Fri, 10 Sep 2021 08:01:44 -0400 Subject: [PATCH] formatting --- .../Interface/Internal/ManagedAsserts/ImGuiContextOffsets.cs | 5 +++-- Dalamud/Interface/Windowing/WindowSystem.cs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dalamud/Interface/Internal/ManagedAsserts/ImGuiContextOffsets.cs b/Dalamud/Interface/Internal/ManagedAsserts/ImGuiContextOffsets.cs index ee0a282d7..5c76854d2 100644 --- a/Dalamud/Interface/Internal/ManagedAsserts/ImGuiContextOffsets.cs +++ b/Dalamud/Interface/Internal/ManagedAsserts/ImGuiContextOffsets.cs @@ -1,11 +1,12 @@ namespace Dalamud.Interface.Internal.ManagedAsserts { /// - /// Offsets to various data for ImGui.Context + /// Offsets to various data in ImGui context. /// /// - /// Last updated for ImGui 1.83 + /// Last updated for ImGui 1.83. /// + [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; diff --git a/Dalamud/Interface/Windowing/WindowSystem.cs b/Dalamud/Interface/Windowing/WindowSystem.cs index b734c8c6a..5f6334e8e 100644 --- a/Dalamud/Interface/Windowing/WindowSystem.cs +++ b/Dalamud/Interface/Windowing/WindowSystem.cs @@ -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);