Increased range for UI scaling

This commit is contained in:
brunoherbelin
2020-09-16 22:04:30 +02:00
parent 76f067de55
commit b0e54c6ff5

View File

@@ -2231,7 +2231,7 @@ void Navigator::RenderMainPannel()
ImGui::Spacing();
ImGui::Text("Appearance");
ImGui::SetNextItemWidth(IMGUI_RIGHT_ALIGN);
if ( ImGui::DragFloat("Scale", &Settings::application.scale, 0.01, 0.8f, 1.2f, "%.1f"))
if ( ImGui::DragFloat("Scale", &Settings::application.scale, 0.01, 0.5f, 2.0f, "%.1f"))
ImGui::GetIO().FontGlobalScale = Settings::application.scale;
// ImGui::SetNextItemWidth(IMGUI_RIGHT_ALIGN);