Skip to content

Commit 27274a9

Browse files
committed
Demo: Allow Thickness < 1 in Custom Rendering
1 parent 10c917f commit 27274a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imgui_demo.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9356,7 +9356,7 @@ static void ShowExampleAppCustomRendering(bool* p_open)
93569356
static int curve_segments_override_v = 8;
93579357
static ImVec4 colf = ImVec4(1.0f, 1.0f, 0.4f, 1.0f);
93589358
ImGui::DragFloat("Size", &sz, 0.2f, 2.0f, 100.0f, "%.0f");
9359-
ImGui::DragFloat("Thickness", &thickness, 0.05f, 1.0f, 8.0f, "%.02f");
9359+
ImGui::DragFloat("Thickness", &thickness, 0.05f, 0.0f, 8.0f, "%.02f");
93609360
ImGui::SliderInt("N-gon sides", &ngon_sides, 3, 12);
93619361
ImGui::Checkbox("##circlesegmentoverride", &circle_segments_override);
93629362
ImGui::SameLine(0.0f, ImGui::GetStyle().ItemInnerSpacing.x);

0 commit comments

Comments
 (0)