From b6e4c79f77b68ac3ab80c5c607100794d2cf2247 Mon Sep 17 00:00:00 2001 From: Jeremie Roy Date: Wed, 22 May 2013 19:23:24 +0200 Subject: [PATCH] slightly better default param values --- examples/11-fontsdf/fontsdf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/11-fontsdf/fontsdf.cpp b/examples/11-fontsdf/fontsdf.cpp index 5ed7439b..60a9f008 100644 --- a/examples/11-fontsdf/fontsdf.cpp +++ b/examples/11-fontsdf/fontsdf.cpp @@ -173,7 +173,7 @@ int _main_(int /*_argc*/, char** /*_argv*/) static float textSize = 14.0f; bool recomputeVisibleText = false; - recomputeVisibleText |= imguiSlider("Number of lines", &visibleLineCount, 1.0f, 300.0f , 1.0f); + recomputeVisibleText |= imguiSlider("Number of lines", &visibleLineCount, 1.0f, 177.0f , 1.0f); if(imguiSlider("Font size", &textSize, 6.0f, 64.0f , 1.0f)) { fontManager->destroyFont(scaled_font); @@ -184,7 +184,7 @@ int _main_(int /*_argc*/, char** /*_argv*/) recomputeVisibleText |= imguiSlider("Scroll", &textScroll, 0.0f, (lineCount-visibleLineCount) , 1.0f); imguiSlider("Rotate", &textRotation, 0.0f, (float) M_PI *2.0f , 0.1f); - recomputeVisibleText |= imguiSlider("Scale", &textScale, 0.2f, 10.0f , 0.1f); + recomputeVisibleText |= imguiSlider("Scale", &textScale, 0.1f, 10.0f , 0.1f); if( recomputeVisibleText) {