mirror of
https://github.com/wolfpld/tracy.git
synced 2026-07-03 12:38:56 +00:00
Add require coverage checkbox.
This commit is contained in:
@@ -979,6 +979,7 @@ private:
|
||||
bool zoom = false;
|
||||
bool loop = false;
|
||||
bool limitRange = false;
|
||||
bool requireCoverage = true;
|
||||
std::pair<int, int> range = { -1, -1 };
|
||||
} m_playback;
|
||||
|
||||
|
||||
@@ -284,6 +284,8 @@ void View::DrawPlayback()
|
||||
limitChanged = true;
|
||||
}
|
||||
}
|
||||
ImGui::Separator();
|
||||
SmallCheckbox( "Require frame coverage", &m_playback.requireCoverage );
|
||||
ImGui::EndPopup();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user