mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Allow switching to zone parent.
This commit is contained in:
parent
e6a32c1af5
commit
077585ba4d
@ -1269,6 +1269,14 @@ void View::DrawZoneInfoWindow()
|
|||||||
{
|
{
|
||||||
ZoomToZone( ev );
|
ZoomToZone( ev );
|
||||||
}
|
}
|
||||||
|
ImGui::SameLine();
|
||||||
|
if( ImGui::Button( "Go to parent" ) )
|
||||||
|
{
|
||||||
|
if( ev.parent )
|
||||||
|
{
|
||||||
|
m_zoneInfoWindow = ev.parent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user