mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 13:14:17 +01:00
fix: count frames even when window is hidden
This commit is contained in:
parent
b34cb8f36b
commit
b72e984e54
1 changed files with 2 additions and 1 deletions
|
|
@ -60,6 +60,8 @@ namespace Dalamud.Interface
|
||||||
|
|
||||||
public void Draw()
|
public void Draw()
|
||||||
{
|
{
|
||||||
|
this.frameCount++;
|
||||||
|
|
||||||
if (!this.IsDevMenu && !this.dalamud.ClientState.Condition.Any())
|
if (!this.IsDevMenu && !this.dalamud.ClientState.Condition.Any())
|
||||||
{
|
{
|
||||||
ImGui.PushStyleColor(ImGuiCol.Button, new Vector4(0, 0, 0, 0));
|
ImGui.PushStyleColor(ImGuiCol.Button, new Vector4(0, 0, 0, 0));
|
||||||
|
|
@ -246,7 +248,6 @@ namespace Dalamud.Interface
|
||||||
ImGui.BeginMenu("UI is hidden...", false);
|
ImGui.BeginMenu("UI is hidden...", false);
|
||||||
|
|
||||||
ImGui.BeginMenu(this.frameCount.ToString(), false);
|
ImGui.BeginMenu(this.frameCount.ToString(), false);
|
||||||
this.frameCount++;
|
|
||||||
|
|
||||||
ImGui.EndMainMenuBar();
|
ImGui.EndMainMenuBar();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue