mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-29 04:01:07 +01:00 
			
		
		
		
	Internals: Data types: Made format string optional. DragBehavior: Moved a bit of code outside of the template. Slider tidying up. Removed unnecessary call to fabsf().
This commit is contained in:
		| @@ -375,7 +375,7 @@ void ImGui::ShowDemoWindow(bool* p_open) | ||||
|  | ||||
|                 static float f1=0.123f, f2=0.0f; | ||||
|                 ImGui::SliderFloat("slider float", &f1, 0.0f, 1.0f, "ratio = %.3f"); | ||||
|                 ImGui::SliderFloat("slider log float", &f2, -10.0f, 10.0f, "%.4f", 3.0f); | ||||
|                 ImGui::SliderFloat("slider float (curve)", &f2, -10.0f, 10.0f, "%.4f", 2.0f); | ||||
|                 static float angle = 0.0f; | ||||
|                 ImGui::SliderAngle("slider angle", &angle); | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user