Skip to content

Commit 285df95

Browse files
committed
feat: add reverse flag to legend options demo
1 parent de4d28e commit 285df95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

implot_demo.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,6 +1399,7 @@ void Demo_LegendOptions() {
13991399
CHECKBOX_FLAG(flags, ImPlotLegendFlags_Horizontal);
14001400
CHECKBOX_FLAG(flags, ImPlotLegendFlags_Outside);
14011401
CHECKBOX_FLAG(flags, ImPlotLegendFlags_Sort);
1402+
CHECKBOX_FLAG(flags, ImPlotLegendFlags_Reverse);
14021403

14031404
ImGui::SliderFloat2("LegendPadding", (float*)&GetStyle().LegendPadding, 0.0f, 20.0f, "%.0f");
14041405
ImGui::SliderFloat2("LegendInnerPadding", (float*)&GetStyle().LegendInnerPadding, 0.0f, 10.0f, "%.0f");

0 commit comments

Comments
 (0)