mirror of
https://github.com/ocornut/imgui.git
synced 2025-02-21 12:52:19 +01:00
Demo: Allow Thickness < 1 in Custom Rendering
This commit is contained in:
parent
fb42e0e400
commit
101385af23
@ -9400,7 +9400,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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user