Display that frames are discontinuous in options.

This commit is contained in:
Bartosz Taudul 2018-08-05 02:30:41 +02:00
parent cb9f243987
commit d590fa7ce2

View File

@ -3868,7 +3868,7 @@ void View::DrawOptions()
ImGui::Checkbox( fd->name == 0 ? "Frames" : m_worker.GetString( fd->name ), &Visible( fd ) ); ImGui::Checkbox( fd->name == 0 ? "Frames" : m_worker.GetString( fd->name ), &Visible( fd ) );
ImGui::PopID(); ImGui::PopID();
ImGui::SameLine(); ImGui::SameLine();
ImGui::TextDisabled( "%s frames", RealToString( fd->frames.size(), true ) ); ImGui::TextDisabled( "%s %sframes", RealToString( fd->frames.size(), true ), fd->continuous ? "" : "discontinuous " );
} }
ImGui::TreePop(); ImGui::TreePop();
} }