Set Max Clone delay to 2.0s

This commit is contained in:
Bruno Herbelin
2022-04-10 23:32:44 +02:00
parent d314f1bae2
commit f039755bde
3 changed files with 3 additions and 3 deletions

View File

@@ -775,7 +775,7 @@ void ImGuiVisitor::visit (CloneSource& s)
ImGui::SetNextItemWidth(IMGUI_RIGHT_ALIGN);
float d = s.delay();
if (ImGui::SliderFloat("Delay", &d, 0.f, 1.f, d < 0.01f ? "None" : "%.2f s"))
if (ImGui::SliderFloat("Delay", &d, 0.f, 2.f, d < 0.01f ? "None" : "%.2f s"))
s.setDelay(d);
}