mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
By default hide help when specifying a custom buffer format
This commit is contained in:
@@ -77,7 +77,7 @@ namespace renderdocui.Windows.Dialogs
|
||||
}
|
||||
}
|
||||
|
||||
private void toggleHelp_Click(object sender, EventArgs e)
|
||||
public void ToggleHelp()
|
||||
{
|
||||
helpText.Visible = !helpText.Visible;
|
||||
|
||||
@@ -99,6 +99,11 @@ namespace renderdocui.Windows.Dialogs
|
||||
tableLayoutPanel1.ResumeLayout(false);
|
||||
tableLayoutPanel1.PerformLayout();
|
||||
}
|
||||
|
||||
private void toggleHelp_Click(object sender, EventArgs e)
|
||||
{
|
||||
ToggleHelp();
|
||||
}
|
||||
}
|
||||
|
||||
public interface IBufferFormatProcessor
|
||||
|
||||
@@ -434,8 +434,12 @@ namespace renderdocui.Controls
|
||||
}
|
||||
|
||||
if (m_FormatSpecifier == null)
|
||||
{
|
||||
m_FormatSpecifier = new BufferFormatSpecifier(this, "");
|
||||
|
||||
m_FormatSpecifier.ToggleHelp();
|
||||
}
|
||||
|
||||
split.Panel2.Controls.Add(m_FormatSpecifier);
|
||||
m_FormatSpecifier.Dock = DockStyle.Fill;
|
||||
split.Panel2Collapsed = false;
|
||||
|
||||
Reference in New Issue
Block a user