Skip to content

Commit

Permalink
update legend.rs
Browse files Browse the repository at this point in the history
Co-authored-by: lucasmerlin <lucasmeurer96@gmail.com>
  • Loading branch information
bircni and lucasmerlin authored Feb 5, 2025
1 parent fe27f60 commit d37acc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions egui_plot/src/legend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ impl Legend {
/// Specifies if the legend item order should be the inserted order.
/// Default: `false`.
/// If `true`, the order of the legend items will be the same as the order as they were added.
/// By default it will be sorted alphabetically.
#[inline]
pub fn follow_insertion_order(mut self, follow: bool) -> Self {
self.follow_insertion_order = follow;
Expand Down

0 comments on commit d37acc1

Please sign in to comment.