mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-08 02:50:31 +00:00
Don't set-up table layout with disasm type selector in debug case
* Otherwise it hangs around and breaks the layout when we don't want it to be visible at all
This commit is contained in:
@@ -490,12 +490,7 @@ namespace renderdocui.Windows
|
||||
disasmToolStrip.Items.AddRange(new ToolStripItem[] { disasmTypeLabel, disasmType });
|
||||
disasmToolStrip.Margin = new Padding(0, 0, 12, 0);
|
||||
|
||||
disasmLayoutPanel.ColumnCount = 1;
|
||||
disasmLayoutPanel.Controls.Add(disasmToolStrip, 0, 0);
|
||||
disasmLayoutPanel.Controls.Add(m_DisassemblyView, 0, 1);
|
||||
disasmLayoutPanel.RowCount = 2;
|
||||
disasmLayoutPanel.RowStyles.Add(new RowStyle());
|
||||
disasmLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
|
||||
disasmLayoutPanel.Dock = DockStyle.Fill;
|
||||
|
||||
if (m_Trace == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user