Browse Source

slightly better default param values

Jeremie Roy 12 years ago
parent
commit
b6e4c79f77
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/11-fontsdf/fontsdf.cpp

+ 2 - 2
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)
 		{