From 135a457ecd233a358bf1cb176aaa19a7e81aac0e Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 14 Aug 2023 11:27:47 +0200 Subject: [PATCH] typo in comment --- crates/egui/src/widgets/plot/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/widgets/plot/mod.rs b/crates/egui/src/widgets/plot/mod.rs index 1d39578e3..835865cd9 100644 --- a/crates/egui/src/widgets/plot/mod.rs +++ b/crates/egui/src/widgets/plot/mod.rs @@ -869,7 +869,7 @@ impl Plot { } } - // if to little space, remove axis widgets + // If too little space, remove axis widgets if plot_rect.width() <= 0.0 || plot_rect.height() <= 0.0 { y_axis_widgets.clear(); x_axis_widgets.clear();