mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-01-03 14:23:43 +01:00
Actually bind debug tab to debug mode toggle.
This commit is contained in:
parent
2aed252820
commit
765da6d518
2 changed files with 2 additions and 6 deletions
|
|
@ -27,17 +27,13 @@ public partial class ConfigWindow
|
|||
|
||||
#if DEBUG
|
||||
private const string DebugVersionString = "(Debug)";
|
||||
private const bool DefaultVisibility = true;
|
||||
#else
|
||||
private const string DebugVersionString = "(Release)";
|
||||
private const bool DefaultVisibility = false;
|
||||
#endif
|
||||
|
||||
public bool DebugTabVisible = DefaultVisibility;
|
||||
|
||||
public void Draw()
|
||||
{
|
||||
if( !DebugTabVisible )
|
||||
if( !Penumbra.Config.DebugMode )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ public partial class ConfigWindow
|
|||
// Draw a tab to iterate over the main resource maps and see what resources are currently loaded.
|
||||
public void Draw()
|
||||
{
|
||||
if( !_window._debugTab.DebugTabVisible )
|
||||
if( !Penumbra.Config.DebugMode )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue