mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Make usage entries menu items not labels, to be clickable
This commit is contained in:
@@ -3643,9 +3643,9 @@ namespace renderdocui.Windows
|
||||
ToolStripItem item = null;
|
||||
|
||||
if (start == end)
|
||||
item = new ToolStripLabel("EID " + start + ": " + usage.Str(m_Core.APIProps.pipelineType));
|
||||
item = new ToolStripMenuItem("EID " + start + ": " + usage.Str(m_Core.APIProps.pipelineType));
|
||||
else
|
||||
item = new ToolStripLabel("EID " + start + "-" + end + ": " + usage.Str(m_Core.APIProps.pipelineType));
|
||||
item = new ToolStripMenuItem("EID " + start + "-" + end + ": " + usage.Str(m_Core.APIProps.pipelineType));
|
||||
|
||||
item.Click += new EventHandler(resourceContextItem_Click);
|
||||
item.Tag = end;
|
||||
|
||||
Reference in New Issue
Block a user