mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
feat: add frame counter to dev bar
This commit is contained in:
parent
31216efc7b
commit
a2ba2faf6f
1 changed files with 5 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ namespace Dalamud.Interface
|
|||
{
|
||||
private readonly Dalamud dalamud;
|
||||
|
||||
private ulong frameCount = 0;
|
||||
|
||||
public DalamudInterface(Dalamud dalamud) {
|
||||
this.dalamud = dalamud;
|
||||
}
|
||||
|
|
@ -239,6 +241,9 @@ namespace Dalamud.Interface
|
|||
if (this.dalamud.Framework.Gui.GameUiHidden)
|
||||
ImGui.BeginMenu("UI is hidden...", false);
|
||||
|
||||
ImGui.BeginMenu(this.frameCount.ToString(), false);
|
||||
this.frameCount++;
|
||||
|
||||
ImGui.EndMainMenuBar();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue