mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Select Zstd compression when Zstd level is changed.
This commit is contained in:
parent
80e1b0c2cf
commit
3cc69b221e
@ -647,7 +647,10 @@ bool View::Draw()
|
|||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
TextDisabledUnformatted( "Increasing level decreases file size, but increases save and load times" );
|
TextDisabledUnformatted( "Increasing level decreases file size, but increases save and load times" );
|
||||||
ImGui::Indent();
|
ImGui::Indent();
|
||||||
ImGui::SliderInt( "##zstd", &zlvl, 1, 22, "%d", ImGuiSliderFlags_AlwaysClamp );
|
if( ImGui::SliderInt( "##zstd", &zlvl, 1, 22, "%d", ImGuiSliderFlags_AlwaysClamp ) )
|
||||||
|
{
|
||||||
|
comp = FileWrite::Compression::Zstd;
|
||||||
|
}
|
||||||
ImGui::Unindent();
|
ImGui::Unindent();
|
||||||
|
|
||||||
static bool buildDict = false;
|
static bool buildDict = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user