diff --git a/crates/egui/src/response.rs b/crates/egui/src/response.rs index e95d07c2..e0c473c1 100644 --- a/crates/egui/src/response.rs +++ b/crates/egui/src/response.rs @@ -78,7 +78,7 @@ pub struct Response { #[doc(hidden)] pub interact_pointer_pos: Option, - /// What the underlying data changed? + /// Was the underlying data changed? /// /// e.g. the slider was dragged, text was entered in a [`TextEdit`](crate::TextEdit) etc. /// Always `false` for something like a [`Button`](crate::Button). @@ -339,7 +339,7 @@ impl Response { self.is_pointer_button_down_on } - /// What the underlying data changed? + /// Was the underlying data changed? /// /// e.g. the slider was dragged, text was entered in a [`TextEdit`](crate::TextEdit) etc. /// Always `false` for something like a [`Button`](crate::Button). diff --git a/crates/egui_plot/src/lib.rs b/crates/egui_plot/src/lib.rs index 111f5f65..7e8507a6 100644 --- a/crates/egui_plot/src/lib.rs +++ b/crates/egui_plot/src/lib.rs @@ -1405,7 +1405,7 @@ impl PlotUi { Vec2::new(delta.x / dp_dv[0] as f32, delta.y / dp_dv[1] as f32) } - /// Read the transform netween plot coordinates and screen coordinates. + /// Read the transform between plot coordinates and screen coordinates. pub fn transform(&self) -> &PlotTransform { &self.last_plot_transform }