mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 22:13:51 +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…
x
Reference in New Issue
Block a user