mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 20:24:16 +01:00
Revert "feat: add click count needed before dev menu opens"
This reverts commit ba0d64d3e6.
This commit is contained in:
parent
ac258a4fd5
commit
317397ab48
1 changed files with 1 additions and 9 deletions
|
|
@ -54,7 +54,6 @@ namespace Dalamud.Interface.Internal
|
||||||
|
|
||||||
private readonly TextureWrap logoTexture;
|
private readonly TextureWrap logoTexture;
|
||||||
|
|
||||||
private uint devButtonClickCnt = 0;
|
|
||||||
private ulong frameCount = 0;
|
private ulong frameCount = 0;
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
|
@ -379,14 +378,7 @@ namespace Dalamud.Interface.Internal
|
||||||
{
|
{
|
||||||
var cursor = ImGui.GetCursorPos();
|
var cursor = ImGui.GetCursorPos();
|
||||||
if (ImGui.Button("###devMenuOpener", imageSize))
|
if (ImGui.Button("###devMenuOpener", imageSize))
|
||||||
{
|
|
||||||
if (this.devButtonClickCnt > 20)
|
|
||||||
{
|
|
||||||
this.isImGuiDrawDevMenu = true;
|
this.isImGuiDrawDevMenu = true;
|
||||||
}
|
|
||||||
|
|
||||||
this.devButtonClickCnt++;
|
|
||||||
}
|
|
||||||
/*
|
/*
|
||||||
#if !DEBUG
|
#if !DEBUG
|
||||||
if (config.DoDalamudTest)
|
if (config.DoDalamudTest)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue