Allow switching to zone parent.

This commit is contained in:
Bartosz Taudul 2017-09-30 13:41:03 +02:00
parent e6a32c1af5
commit 077585ba4d

View File

@ -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();