mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 06:13:40 +01:00
formatting
This commit is contained in:
parent
dda515da85
commit
1920d91eff
2 changed files with 4 additions and 3 deletions
|
|
@ -1,11 +1,12 @@
|
||||||
namespace Dalamud.Interface.Internal.ManagedAsserts
|
namespace Dalamud.Interface.Internal.ManagedAsserts
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Offsets to various data for ImGui.Context
|
/// Offsets to various data in ImGui context.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Last updated for ImGui 1.83
|
/// Last updated for ImGui 1.83.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:Elements should be documented", Justification = "Document the unsage instead.")]
|
||||||
internal static class ImGuiContextOffsets
|
internal static class ImGuiContextOffsets
|
||||||
{
|
{
|
||||||
public const int CurrentWindowStackOffset = 0x73A;
|
public const int CurrentWindowStackOffset = 0x73A;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
using Dalamud.Interface.Internal.ManagedAsserts;
|
using Dalamud.Interface.Internal.ManagedAsserts;
|
||||||
using ImGuiNET;
|
using ImGuiNET;
|
||||||
using Serilog;
|
using Serilog;
|
||||||
|
|
@ -104,7 +105,6 @@ namespace Dalamud.Interface.Windowing
|
||||||
|
|
||||||
var source = ($"{this.Namespace}::" ?? string.Empty) + window.WindowName;
|
var source = ($"{this.Namespace}::" ?? string.Empty) + window.WindowName;
|
||||||
ImGuiManagedAsserts.ReportProblems(source, snapshot);
|
ImGuiManagedAsserts.ReportProblems(source, snapshot);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var focusedWindow = this.windows.FirstOrDefault(x => x.IsFocused && x.RespectCloseHotkey);
|
var focusedWindow = this.windows.FirstOrDefault(x => x.IsFocused && x.RespectCloseHotkey);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue