Skip to content

Commit

Permalink
Demo: Allow Thickness < 1 in Custom Rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
thedmd committed Sep 11, 2024
1 parent f8a8819 commit 4bbc4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgui_demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9356,7 +9356,7 @@ static void ShowExampleAppCustomRendering(bool* p_open)
static int curve_segments_override_v = 8;
static ImVec4 colf = ImVec4(1.0f, 1.0f, 0.4f, 1.0f);
ImGui::DragFloat("Size", &sz, 0.2f, 2.0f, 100.0f, "%.0f");
ImGui::DragFloat("Thickness", &thickness, 0.05f, 1.0f, 8.0f, "%.02f");
ImGui::DragFloat("Thickness", &thickness, 0.05f, 0.0f, 8.0f, "%.02f");
ImGui::SliderInt("N-gon sides", &ngon_sides, 3, 12);
ImGui::Checkbox("##circlesegmentoverride", &circle_segments_override);
ImGui::SameLine(0.0f, ImGui::GetStyle().ItemInnerSpacing.x);
Expand Down

0 comments on commit 4bbc4af

Please sign in to comment.